Annotation Type OAuthFlow
-
@Target({}) @Retention(RUNTIME) @Inherited public @interface OAuthFlow
Configuration details for a supported OAuth Flow.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
authorizationUrl
The authorization URL to be used for this flow.Extension[]
extensions
The list of optional extensionsString
refreshUrl
The URL to be used for obtaining refresh tokens.OAuthScope[]
scopes
The available scopes for the OAuth2 security scheme.String
tokenUrl
The token URL to be used for this flow.
-
-
-
Element Detail
-
authorizationUrl
String authorizationUrl
The authorization URL to be used for this flow. This must be in the form of a URL. Applies to oauth2 ("implicit", "authorizationCode") type.- Returns:
- the authorization url
- Default:
- ""
-
-
-
tokenUrl
String tokenUrl
The token URL to be used for this flow. This must be in the form of a URL. Applies to oauth2 ("password", "clientCredentials", "authorizationCode") type.- Returns:
- the token url
- Default:
- ""
-
-
-
refreshUrl
String refreshUrl
The URL to be used for obtaining refresh tokens. This must be in the form of a URL. Applies to oauth2 type.- Returns:
- the refresh url
- Default:
- ""
-
-
-
scopes
OAuthScope[] scopes
The available scopes for the OAuth2 security scheme. Applies to oauth2 type.- Returns:
- array of scopes
- Default:
- {}
-
-
-
extensions
Extension[] extensions
The list of optional extensions- Returns:
- an optional array of extensions
- Default:
- {}
-
-