FailedCredential

@Serializable
data class FailedCredential(val configurationID: String, val rawCode: String, val protocolError: String? = null)(source)

An offered credential that couldn't be obtained: its error's code and, when the issuer gave one, its OAuth error code.

Constructors

Link copied to clipboard
constructor(configurationID: String, rawCode: String, protocolError: String? = null)

Properties

Link copied to clipboard

Why it failed.

Link copied to clipboard
@SerialName(value = "configuration_id")
val configurationID: String

The offered credential's configuration.

Link copied to clipboard
@SerialName(value = "detail")
val protocolError: String?

The issuer's OAuth error code, when it gave one.

Link copied to clipboard
@SerialName(value = "code")
val rawCode: String

Why it failed, as the Go side names it: code reads it.