@Target(value={})
@Retention(value=RUNTIME)
@Inherited
public @interface OAuthFlow
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
authorizationUrl
The authorization URL to be used for this flow.
|
java.lang.String |
refreshUrl
The URL to be used for obtaining refresh tokens.
|
OAuthScope[] |
scopes
This is a REQUIRED property.
|
java.lang.String |
tokenUrl
The token URL to be used for this flow.
|
public abstract java.lang.String authorizationUrl
This is a REQUIRED property and MUST be in the form of a URL. Applies to oauth2 ("implicit", "authorizationCode") type.
public abstract java.lang.String tokenUrl
This is a REQUIRED property and MUST be in the form of a URL. Applies to oauth2 ("password", "clientCredentials", "authorizationCode") type.
public abstract java.lang.String refreshUrl
This MUST be in the form of a URL. Applies to oauth2 type.
public abstract OAuthScope[] scopes
The available scopes for the OAuth2 security scheme. Applies to oauth2 type.