PROTOCOL

ProblemModel

public protocol ProblemModel: UIProblemModel

A model that represents a problem.

Properties

messageItems

var messageItems: [InfoMessageModel]

A list of InfoMessageModel instances representing the messages to present to the user.

linkItems

var linkItems: [LinkItemModel]

A list of LinkItemModel instances representing optional flow actions.

type

var type: HandleableProblemType?

The type of the problem when it is handleable.

iss

var iss: String?

The issuer identifier of the authorization server that generated the error, per RFC 9207. Non-nil only when the underlying server response is an AuthorizationProblem.