Uses of Interface
org.eclipse.microprofile.openapi.models.security.OAuthFlow
-
Packages that use OAuthFlow Package Description org.eclipse.microprofile.openapi A set of Java interfaces, annotations and programming models which allow Java developers to natively produce OpenAPI v3 documents from their JAX-RS applications.org.eclipse.microprofile.openapi.models.security A set of model interfaces to represent various security components of an OpenAPI app. -
-
Uses of OAuthFlow in org.eclipse.microprofile.openapi
Methods in org.eclipse.microprofile.openapi that return OAuthFlow Modifier and Type Method Description static OAuthFlowOASFactory. createOAuthFlow()This method creates a newOAuthFlowinstance. -
Uses of OAuthFlow in org.eclipse.microprofile.openapi.models.security
Methods in org.eclipse.microprofile.openapi.models.security that return OAuthFlow Modifier and Type Method Description OAuthFlowOAuthFlow. addScope(String scope, String description)Adds name of an existing scope object and item parameters to scopes as a key-value pair in a map.default OAuthFlowOAuthFlow. authorizationUrl(String authorizationUrl)The authorization URL to be used for this flow.OAuthFlowOAuthFlows. getAuthorizationCode()OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0OAuthFlowOAuthFlows. getClientCredentials()OAuth Client Credential flow; previously called application in OpenAPI 2.0OAuthFlowOAuthFlows. getImplicit()This method returns the implicit property from OAuthFlows instance.OAuthFlowOAuthFlows. getPassword()OAuth Resource Owner Password flowdefault OAuthFlowOAuthFlow. refreshUrl(String refreshUrl)The URL to be used for obtaining refresh tokens.default OAuthFlowOAuthFlow. scopes(Map<String,String> scopes)The available scopes for the OAuth2 security scheme.default OAuthFlowOAuthFlow. tokenUrl(String tokenUrl)The token URL to be used for this flow.Methods in org.eclipse.microprofile.openapi.models.security with parameters of type OAuthFlow Modifier and Type Method Description default OAuthFlowsOAuthFlows. authorizationCode(OAuthFlow authorizationCode)OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0default OAuthFlowsOAuthFlows. clientCredentials(OAuthFlow clientCredentials)OAuth Client Credential flow; previously called application in OpenAPI 2.0default OAuthFlowsOAuthFlows. implicit(OAuthFlow implicit)This method sets the implicit property of OAuthFlows instance to the given implicit argument and returns the modified instance.default OAuthFlowsOAuthFlows. password(OAuthFlow password)OAuth Resource Owner Password flowvoidOAuthFlows. setAuthorizationCode(OAuthFlow authorizationCode)OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0voidOAuthFlows. setClientCredentials(OAuthFlow clientCredentials)OAuth Client Credential flow; previously called application in OpenAPI 2.0voidOAuthFlows. setImplicit(OAuthFlow implicit)This method sets the implicit property of OAuthFlows instance to the given implicit argument.voidOAuthFlows. setPassword(OAuthFlow password)OAuth Resource Owner Password flow
-