public enum AuthenticationErrorReason extends Enum<AuthenticationErrorReason>
Java class for AuthenticationError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AuthenticationError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="AMBIGUOUS_SOAP_REQUEST_HEADER"/>
<enumeration value="INVALID_EMAIL"/>
<enumeration value="AUTHENTICATION_FAILED"/>
<enumeration value="INVALID_OAUTH_SIGNATURE"/>
<enumeration value="INVALID_SERVICE"/>
<enumeration value="MISSING_SOAP_REQUEST_HEADER"/>
<enumeration value="MISSING_AUTHENTICATION_HTTP_HEADER"/>
<enumeration value="MISSING_AUTHENTICATION"/>
<enumeration value="NOT_WHITELISTED_FOR_API_ACCESS"/>
<enumeration value="NO_NETWORKS_TO_ACCESS"/>
<enumeration value="NETWORK_NOT_FOUND"/>
<enumeration value="NETWORK_CODE_REQUIRED"/>
<enumeration value="CONNECTION_ERROR"/>
<enumeration value="GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK"/>
<enumeration value="UNDER_INVESTIGATION"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AMBIGUOUS_SOAP_REQUEST_HEADER
The SOAP message contains a request header with an ambiguous definition
of the authentication header fields.
|
AUTHENTICATION_FAILED
Tried to authenticate with provided information, but failed.
|
CONNECTION_ERROR
An error happened on the server side during connection to authentication
service.
|
GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK
The user tried to create a test network using an account that already is
associated with a network.
|
INVALID_EMAIL
The login provided is invalid.
|
INVALID_OAUTH_SIGNATURE
The OAuth provided is invalid.
|
INVALID_SERVICE
The specified service to use was not recognized.
|
MISSING_AUTHENTICATION
The request is missing an
authToken |
MISSING_AUTHENTICATION_HTTP_HEADER
The HTTP request is missing a request header with an
authToken |
MISSING_SOAP_REQUEST_HEADER
The SOAP message is missing a request header with an
authToken
and optional networkCode. |
NETWORK_CODE_REQUIRED
The user has access to more than one network, but did not provide a
networkCode. |
NETWORK_NOT_FOUND
No network for the given
networkCode was found. |
NO_NETWORKS_TO_ACCESS
The user is not associated with any network.
|
NOT_WHITELISTED_FOR_API_ACCESS
The customer is not whitelisted for API access.
|
UNDER_INVESTIGATION
The account is blocked and under investigation by the collections team.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationErrorReason |
fromValue(String v) |
String |
value() |
static AuthenticationErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationErrorReason AMBIGUOUS_SOAP_REQUEST_HEADER
authToken and oAuthToken fields were both null or both were
specified. Exactly one value should be specified with each request.public static final AuthenticationErrorReason INVALID_EMAIL
public static final AuthenticationErrorReason AUTHENTICATION_FAILED
public static final AuthenticationErrorReason INVALID_OAUTH_SIGNATURE
public static final AuthenticationErrorReason INVALID_SERVICE
public static final AuthenticationErrorReason MISSING_SOAP_REQUEST_HEADER
authToken
and optional networkCode.public static final AuthenticationErrorReason MISSING_AUTHENTICATION_HTTP_HEADER
authTokenpublic static final AuthenticationErrorReason MISSING_AUTHENTICATION
authTokenpublic static final AuthenticationErrorReason NOT_WHITELISTED_FOR_API_ACCESS
public static final AuthenticationErrorReason NO_NETWORKS_TO_ACCESS
public static final AuthenticationErrorReason NETWORK_NOT_FOUND
networkCode was found.public static final AuthenticationErrorReason NETWORK_CODE_REQUIRED
networkCode.public static final AuthenticationErrorReason CONNECTION_ERROR
public static final AuthenticationErrorReason GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK
public static final AuthenticationErrorReason UNDER_INVESTIGATION
public static final AuthenticationErrorReason UNKNOWN
public static AuthenticationErrorReason[] values()
for (AuthenticationErrorReason c : AuthenticationErrorReason.values()) System.out.println(c);
public static AuthenticationErrorReason 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 String value()
public static AuthenticationErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.