ResumeException

class ResumeException(message: String, val errorId: String) : Exception

Thrown by resume when the redirect could not be validated or the authorization server returned an error.

Constructors

Link copied to clipboard
constructor(message: String, errorId: String)

Properties

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

the error code. For server errors this is the OAuth2 error code from the redirect; for a failed CSRF/state check it is the SDK-generated value "state_mismatch".

Link copied to clipboard
open val message: String?