public enum FirebaseCustomTokenResultError extends java.lang.Enum<FirebaseCustomTokenResultError>
Enum Constant and Description |
---|
AUTHORIZATION_FAILURE
Signifies that the OAuth request to Snapchat has failed.
|
CUSTOM_TOKEN_FETCH_FAILURE
Signifies a problem during the Custom Token cloud function fetch.
|
UNKNOWN_ERROR
Signifies that the request failed for an unknown reason.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
errorDescription
Returns the detailed description of this error.
|
Modifier and Type | Method and Description |
---|---|
static FirebaseCustomTokenResultError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FirebaseCustomTokenResultError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirebaseCustomTokenResultError UNKNOWN_ERROR
public static final FirebaseCustomTokenResultError AUTHORIZATION_FAILURE
Please check to ensure your application is using the correct 'OAuth 2.0 Client ID' and has followed all the setup instructions correctly.
If testing on the STAGING environment ensure that the Snapchat username for whom you’re trying to test this feature is in the list of Demo Users on the Snap Kit Developer Portal.
public static final FirebaseCustomTokenResultError CUSTOM_TOKEN_FETCH_FAILURE
Please check to ensure your application is using the correct 'Confidential OAuth 2.0 Client ID' and has followed all the setup instructions correctly.
@NonNull public java.lang.String errorDescription
public static FirebaseCustomTokenResultError[] values()
for (FirebaseCustomTokenResultError c : FirebaseCustomTokenResultError.values()) System.out.println(c);
public static FirebaseCustomTokenResultError 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