AuthorizationResponse

data class AuthorizationResponse(val allow: Boolean = false, val valid: Boolean = false, val result: Result? = null, val error: Error? = null)

Data class representing an authorization response.

Constructors

Link copied to clipboard
constructor(allow: Boolean = false, valid: Boolean = false, result: Result? = null, error: Error? = null)

Properties

Link copied to clipboard
val allow: Boolean = false

whether the request is allowed.

Link copied to clipboard
val error: Error? = null

the error encountered during the authorization request.

Link copied to clipboard
val result: Result? = null

the result of the authorization request.

Link copied to clipboard
val valid: Boolean = false

whether the request is valid.