|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OAuth2CodeGrantFlow.Phase>
org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
public static enum OAuth2CodeGrantFlow.Phase
Phase of the Authorization Code Grant Flow.
| Enum Constant Summary | |
|---|---|
ACCESS_TOKEN_REQUEST
Requesting the access token phase. |
|
ALL
All phases. |
|
AUTHORIZATION
Authorization phase. |
|
REFRESH_ACCESS_TOKEN
Refreshing the access token phase. |
|
| Method Summary | |
|---|---|
abstract void |
property(String key,
String value,
Map<String,String> authorizationProps,
Map<String,String> accessTokenProps,
Map<String,String> refreshTokenProps)
Set property defined by key and value to the appropriate
property map based on this phase. |
static OAuth2CodeGrantFlow.Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OAuth2CodeGrantFlow.Phase[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OAuth2CodeGrantFlow.Phase AUTHORIZATION
public static final OAuth2CodeGrantFlow.Phase ACCESS_TOKEN_REQUEST
public static final OAuth2CodeGrantFlow.Phase REFRESH_ACCESS_TOKEN
public static final OAuth2CodeGrantFlow.Phase ALL
| Method Detail |
|---|
public static OAuth2CodeGrantFlow.Phase[] values()
for (OAuth2CodeGrantFlow.Phase c : OAuth2CodeGrantFlow.Phase.values()) System.out.println(c);
public static OAuth2CodeGrantFlow.Phase valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public abstract void property(String key,
String value,
Map<String,String> authorizationProps,
Map<String,String> accessTokenProps,
Map<String,String> refreshTokenProps)
key and value to the appropriate
property map based on this phase.
key - Property key.value - Property value.authorizationProps - Properties used in construction of redirect URI.accessTokenProps - Properties (parameters) used in access token request.refreshTokenProps - Properties (parameters) used in request for refreshing the access token.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||