public static enum OAuth2Profile.OAuth2Flow extends Enum<OAuth2Profile.OAuth2Flow>
Enum Constant and Description |
---|
AUTHORIZATION_CODE_GRANT |
CLIENT_CREDENTIALS_GRANT |
IMPLICIT_GRANT |
RESOURCE_OWNER_PASSWORD_CREDENTIALS |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OAuth2Profile.OAuth2Flow |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Profile.OAuth2Flow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2Profile.OAuth2Flow AUTHORIZATION_CODE_GRANT
public static final OAuth2Profile.OAuth2Flow IMPLICIT_GRANT
public static final OAuth2Profile.OAuth2Flow RESOURCE_OWNER_PASSWORD_CREDENTIALS
public static final OAuth2Profile.OAuth2Flow CLIENT_CREDENTIALS_GRANT
public static OAuth2Profile.OAuth2Flow[] values()
for (OAuth2Profile.OAuth2Flow c : OAuth2Profile.OAuth2Flow.values()) System.out.println(c);
public static OAuth2Profile.OAuth2Flow valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<OAuth2Profile.OAuth2Flow>
Copyright © 2019. All Rights Reserved.