STRUCT

ErrorTokenResponse

Contents

public struct ErrorTokenResponse: Decodable

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.

Methods

init(from:)

public init(from decoder: Decoder) throws

Parameters

Name Description
decoder The decoder to read data from.