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.