OAuth2Exception
Represents an error during communicating to OAuth2 server.
Inheritors
Types
Link copied to clipboard
Thrown when OAuth2 server responds with the "invalid_grant" error.
Link copied to clipboard
Thrown when a nonce verification failed.
Link copied to clipboard
Thrown when an OAuth2 server responds with a successful HTTP status and expected content type that was successfully decoded but the response doesn't contain a error code nor access token.
Link copied to clipboard
class UnknownException(details: String, val errorCode: String) : OAuth2Exception, CopyableThrowable<OAuth2Exception.UnknownException>
Thrown when an OAuth2 server responds with errorCode.
Link copied to clipboard
class UnsupportedGrantType(val grantType: String) : OAuth2Exception, CopyableThrowable<OAuth2Exception.UnsupportedGrantType>
Thrown when an OAuth2 server responds with the "unsupported_grant_type" error.