OAuth2Exception

Represents an error during communicating to OAuth2 server.

Report a problem

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

Thrown when an OAuth2 server responds with errorCode.

Link copied to clipboard

Thrown when an OAuth2 server responds with the "unsupported_grant_type" error.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

OAuth2 server replied with

Link copied to clipboard
expect open val message: String?