Oauth2Error

class Oauth2Error(val error: String, httpStatusCode: HttpStatusCode, val errorDescription: String?) : DirectAuthenticationError.HttpError

An OAuth2-specific error that occurred during the direct authentication process.

https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1

Parameters

error

A string representing the error.

errorDescription

An optional description of the error.

httpStatusCode

The HttpStatusCode associated with this error.

Constructors

Link copied to clipboard
constructor(error: String, httpStatusCode: HttpStatusCode, errorDescription: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val httpStatusCode: HttpStatusCode