public enum OAuth2ProviderEnum extends java.lang.Enum<OAuth2ProviderEnum>
| Enum Constant and Description |
|---|
GITHUB |
GOOGLE |
OPENID_CONNECT |
| Modifier and Type | Field and Description |
|---|---|
ProviderDefinition |
def |
boolean |
openid |
| Modifier and Type | Method and Description |
|---|---|
ProviderDefinition |
getProviderDefinition() |
abstract Handler |
handler(Logger logger,
OAuth2Configuration config,
ProviderDefinition def2) |
static OAuth2ProviderEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2ProviderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2ProviderEnum OPENID_CONNECT
public static final OAuth2ProviderEnum GOOGLE
public static final OAuth2ProviderEnum GITHUB
public final ProviderDefinition def
public final boolean openid
public static OAuth2ProviderEnum[] values()
for (OAuth2ProviderEnum c : OAuth2ProviderEnum.values()) System.out.println(c);
public static OAuth2ProviderEnum valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic ProviderDefinition getProviderDefinition()
public abstract Handler handler(Logger logger, OAuth2Configuration config, ProviderDefinition def2) throws java.lang.Exception
java.lang.ExceptionaQute SARL