Annotation Interface OAuthFlows
Allows configuration of the supported OAuth Flows.
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionConfiguration for the OAuth Authorization Code flow.Configuration for the OAuth Client Credentials flow.List of extensions to be added to theOAuthFlows
model corresponding to the containing annotation.Configuration for the OAuth Implicit flow.Configuration for the OAuth Resource Owner Password flow.
-
Element Details
-
implicit
OAuthFlow implicitConfiguration for the OAuth Implicit flow.- Returns:
- implicit OAuth flow
- Default:
- @org.eclipse.microprofile.openapi.annotations.security.OAuthFlow
-
password
OAuthFlow passwordConfiguration for the OAuth Resource Owner Password flow.- Returns:
- OAuth Resource Owner Password flow
- Default:
- @org.eclipse.microprofile.openapi.annotations.security.OAuthFlow
-
clientCredentials
OAuthFlow clientCredentialsConfiguration for the OAuth Client Credentials flow.- Returns:
- OAuth Client Credentials flow
- Default:
- @org.eclipse.microprofile.openapi.annotations.security.OAuthFlow
-
authorizationCode
OAuthFlow authorizationCodeConfiguration for the OAuth Authorization Code flow.- Returns:
- OAuth Authorization Code flow
- Default:
- @org.eclipse.microprofile.openapi.annotations.security.OAuthFlow
-
extensions
Extension[] extensionsList of extensions to be added to theOAuthFlows
model corresponding to the containing annotation.- Returns:
- array of extensions
- Since:
- 3.1
- Default:
- {}
-