Class OAuth2Exception
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.craftercms.security.exception.SecurityProviderException
-
- org.craftercms.security.exception.AuthenticationException
-
- org.craftercms.security.exception.OAuth2Exception
-
- All Implemented Interfaces:
Serializable
public class OAuth2Exception extends AuthenticationException
Exception used when a OAuth2 provider returns an error on a login attempt. See http://tools.ietf .org/html/rfc6749#section-4.1.2.1 for details on the error params returned.- Author:
- avasquez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuth2Exception(String error, String errorDescription, String errorUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getError()
String
getErrorDescription()
String
getErrorUri()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-