public enum IdentityProviderCallbackStatus extends java.lang.Enum<IdentityProviderCallbackStatus>
| Enum Constant and Description |
|---|
DENIED
The user has denied the request
|
ERROR
An error.
|
LINKED
The provider was linked to the currently authenticated user
|
LOGIN_EMAIL
Successful login, and the user was not previously linked to the provider,
but was matched by e-mail.
|
LOGIN_LINK
Successful login, and the user was previously linked to the provider
|
LOGIN_NO_EMAIL
No matching user was found for this provider, and no e-mail could be read from the provider.
|
LOGIN_NO_MATCH
No matching user was found for this provider, neither by id nor e-mail.
|
REGISTRATION_DATA
The profile data was read, and is available to get data for filling up the registration form
|
REGISTRATION_DONE
The profile data was read, the user has been directly registered and a session has been created for the user.
|
| Modifier and Type | Method and Description |
|---|---|
static IdentityProviderCallbackStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdentityProviderCallbackStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityProviderCallbackStatus LOGIN_LINK
public static final IdentityProviderCallbackStatus LOGIN_EMAIL
public static final IdentityProviderCallbackStatus LOGIN_NO_MATCH
public static final IdentityProviderCallbackStatus LOGIN_NO_EMAIL
public static final IdentityProviderCallbackStatus REGISTRATION_DATA
public static final IdentityProviderCallbackStatus REGISTRATION_DONE
public static final IdentityProviderCallbackStatus LINKED
public static final IdentityProviderCallbackStatus DENIED
public static final IdentityProviderCallbackStatus ERROR
public static IdentityProviderCallbackStatus[] values()
for (IdentityProviderCallbackStatus c : IdentityProviderCallbackStatus.values()) System.out.println(c);
public static IdentityProviderCallbackStatus 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 null