sealed class OAuth2Exception : Exception
Represents a error during communicating to OAuth2 server
class InvalidGrant : OAuth2Exception
OAuth2 server responded error="invalid_grant" |
|
class MissingAccessToken : OAuth2Exception
Thrown when an OAuth2 server replied with successful HTTP status and expected content type that was successfully decoded but the response doesn't contain error code nor access token |
|
class UnknownException : OAuth2Exception, CopyableThrowable<UnknownException>
OAuth2 server responded with an error code errorCode |
|
class UnsupportedGrantType : OAuth2Exception, CopyableThrowable<UnsupportedGrantType>
Throw when an OAuth2 server replied with error "unsupported_grant_type" |
val errorCode: String?
OAuth2 server replied with |
class InvalidGrant : OAuth2Exception
OAuth2 server responded error="invalid_grant" |
|
class MissingAccessToken : OAuth2Exception
Thrown when an OAuth2 server replied with successful HTTP status and expected content type that was successfully decoded but the response doesn't contain error code nor access token |
|
class UnknownException : OAuth2Exception, CopyableThrowable<UnknownException>
OAuth2 server responded with an error code errorCode |
|
class UnsupportedGrantType : OAuth2Exception, CopyableThrowable<UnsupportedGrantType>
Throw when an OAuth2 server replied with error "unsupported_grant_type" |