STRUCT

ErrorTokenResponse

Contents

public struct ErrorTokenResponse: Codable, CustomDebugStringConvertible, Equatable

An error token response as defined in RFC 6749.

Properties

error

public let error: String

The error code.

errorDescription

public let errorDescription: String

Additional information, used to assist the client developer in understanding the error that occurred.

debugDescription

public var debugDescription: String

Methods

init(from:)

public init(from decoder: Decoder) throws

Parameters

Name Description
decoder The decoder to read data from.