@Target(value={}) @Retention(value=RUNTIME) @Inherited public @interface OAuthFlow
Modifier and Type | Optional Element and Description |
---|---|
String |
authorizationUrl
The authorization URL to be used for this flow.
|
String |
refreshUrl
The URL to be used for obtaining refresh tokens.
|
OAuthScope[] |
scopes
This is a REQUIRED property.
|
String |
tokenUrl
The token URL to be used for this flow.
|
public abstract String authorizationUrl
This is a REQUIRED property and MUST be in the form of a URL. Applies to oauth2 ("implicit", "authorizationCode") type.
public abstract 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 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.
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.