Uses of Interface
org.eclipse.microprofile.openapi.models.security.OAuthFlow
Packages that use OAuthFlow
Package
Description
A set of Java interfaces, annotations and programming models which allow Java developers to natively produce OpenAPI
v3.1 documents from their Jakarta REST applications.
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 OAuthFlowModifier and TypeMethodDescriptionstatic 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 OAuthFlowModifier and TypeMethodDescriptionAdds 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.OAuthFlows.getAuthorizationCode()OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0OAuthFlows.getClientCredentials()OAuth Client Credential flow; previously called application in OpenAPI 2.0OAuthFlows.getImplicit()This method returns the implicit property from OAuthFlows instance.OAuthFlows.getPassword()OAuth Resource Owner Password flowdefault OAuthFlowOAuthFlow.refreshUrl(String refreshUrl) The URL to be used for obtaining refresh tokens.default OAuthFlowThe available scopes for the OAuth2 security scheme.default OAuthFlowThe token URL to be used for this flow.Methods in org.eclipse.microprofile.openapi.models.security with parameters of type OAuthFlowModifier and TypeMethodDescriptiondefault 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 OAuthFlowsThis method sets the implicit property of OAuthFlows instance to the given implicit argument and returns the modified instance.default OAuthFlowsOAuth 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