CLASS

ErrorTokenResponse

Contents

@objcMembers public final class ErrorTokenResponse: NSObject, OAuthResponse

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.

errorUri

public let errorUri: String?

A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.

debugDescription

override public var debugDescription: String

Methods

init(from:)

public init(from decoder: Decoder) throws

Parameters

Name Description
decoder The decoder to read data from.

isEqual(_:)

override public func isEqual(_ object: Any?) -> Bool