public enum Oauth2Provider extends Enum<Oauth2Provider>
Enum Constant and Description |
---|
GMAIL |
Modifier and Type | Method and Description |
---|---|
String |
decode(String encodedState) |
String |
encode(String state) |
boolean |
matches(String encodedState) |
static Oauth2Provider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Oauth2Provider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Oauth2Provider GMAIL
public static final String SEPARATOR
public static Oauth2Provider[] values()
for (Oauth2Provider c : Oauth2Provider.values()) System.out.println(c);
public static Oauth2Provider 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 boolean matches(String encodedState)
Copyright © 2020. All rights reserved.