public enum OAuth2AuthenticationMethod extends Enum<OAuth2AuthenticationMethod>
Enum Constant and Description |
---|
AUTHORIZATION_CODE |
CLIENT_CREDENTIALS |
Modifier and Type | Method and Description |
---|---|
static OAuth2AuthenticationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2AuthenticationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2AuthenticationMethod AUTHORIZATION_CODE
public static final OAuth2AuthenticationMethod CLIENT_CREDENTIALS
public static OAuth2AuthenticationMethod[] values()
for (OAuth2AuthenticationMethod c : OAuth2AuthenticationMethod.values()) System.out.println(c);
public static OAuth2AuthenticationMethod 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 nullCopyright © 2023 Suncode. All rights reserved.