Annotation Interface OAuthFlow
Configuration details for a supported OAuth Flow.
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe authorization URL to be used for this flow.List of extensions to be added to theOAuthFlow
model corresponding to the containing annotation.The URL to be used for obtaining refresh tokens.This is a REQUIRED property.The token URL to be used for this flow.
-
Element Details
-
authorizationUrl
String authorizationUrlThe authorization URL to be used for this flow.This is a REQUIRED property and MUST be in the form of a URL. Applies to oauth2 ("implicit", "authorizationCode") type.
- Returns:
- authorization URL for this flow
- Default:
- ""
-
tokenUrl
String tokenUrlThe token URL to be used for this flow.This is a REQUIRED property and MUST be in the form of a URL. Applies to oauth2 ("password", "clientCredentials", "authorizationCode") type.
- Returns:
- token URL for this flow
- Default:
- ""
-
refreshUrl
String refreshUrlThe URL to be used for obtaining refresh tokens.This MUST be in the form of a URL. Applies to oauth2 type.
- Returns:
- URL for obtaining refresh tokens
- Default:
- ""
-
scopes
OAuthScope[] scopesThis is a REQUIRED property.The available scopes for the OAuth2 security scheme. Applies to oauth2 type.
- Returns:
- scopes available for this security scheme
- Default:
- {}
-
extensions
Extension[] extensionsList of extensions to be added to theOAuthFlow
model corresponding to the containing annotation.- Returns:
- array of extensions
- Since:
- 3.1
- Default:
- {}
-