Package com.iizix.comm.oauth
Enum Class IOAuthListener.Code
- All Implemented Interfaces:
- Serializable,- Comparable<IOAuthListener.Code>,- Constable
- Enclosing interface:
- IOAuthListener
Enum for the authentication codes.
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe resource owner or authorization server denied the request.Application session disposed of, authentication process aborted.Application session disposed of because the authentication process was blocked by the security or privacy settings of the browser.Application session disposed of because the authentication process was canceled by the user, closing the authentication window.Authentication process is ongoing and has not completed.The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.The requested scope is invalid, unknown, or malformed.Invalid state returned in authorization.The authorization server encountered an unexpected condition that prevented it from fulfilling the request.Authentication successful.The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.The client is not authorized to request an authorization code using this method.Unknown error, the server replied with a error code that does not comply with RFC 6749.The authorization server does not support obtaining an authorization code using this method.User has canceled the authentication process.
- Method SummaryModifier and TypeMethodDescription- static IOAuthListener.Code- fromString- (String errorCode) Returns the code from a string in the HTTP reply.- static IOAuthListener.CodeReturns the enum constant of this class with the specified name.- static IOAuthListener.Code[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- SUCCESSAuthentication successful.
- INCOMPLETEAuthentication process is ongoing and has not completed.
- USER_CANCELUser has canceled the authentication process.
- DISPOSEDApplication session disposed of, authentication process aborted.
- DISPOSED_BLOCKEDApplication session disposed of because the authentication process was blocked by the security or privacy settings of the browser.
- DISPOSED_USER_CANCELApplication session disposed of because the authentication process was canceled by the user, closing the authentication window.
- INVALID_REQUESTThe request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.
- UNAUTHORIZED_CLIENTThe client is not authorized to request an authorization code using this method.
- ACCESS_DENIEDThe resource owner or authorization server denied the request.
- INVALID_STATEInvalid state returned in authorization.
- UNSUPPORTED_RESPONSE_TYPEThe authorization server does not support obtaining an authorization code using this method.
- INVALID_SCOPEThe requested scope is invalid, unknown, or malformed.
- SERVER_ERRORThe authorization server encountered an unexpected condition that prevented it from fulfilling the request. (This error code is needed because a 500 Internal Server Error HTTP status code cannot be returned to the client via an HTTP redirect.)
- TEMPORARILY_UNAVAILABLEThe authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server. (This error code is needed because a 503 Service Unavailable HTTP status code cannot be returned to the client via an HTTP redirect.)
- UNKNOWN_ERRORUnknown error, the server replied with a error code that does not comply with RFC 6749.
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- fromStringReturns the code from a string in the HTTP reply.- Returns:
- One of the error codes