STRUCT
UserConsentStep
Contents
- Properties
metadata
actions
messages
links
properties
type
- Methods
init(from:)
encode(to:)
==(_:_:)
public struct UserConsentStep: HaapiRepresentation, Equatable
A step that allows users to review which identity attributes will be made available to the client and decide if they want to allow it.
Properties
metadata
public let metadata: Metadata?
actions
public let actions: [Action]
Possible actions a user or the client may choose to take to continue the flow.
messages
public let messages: [UserMessage]
links
public let links: [Link]
properties
public let properties: Properties?
type
public let type: RepresentationType = .userConsentStep
Methods
init(from:)
public init(from decoder: Decoder) throws
Parameters
Name | Description |
---|---|
decoder | The decoder to read data from. |
encode(to:)
public func encode(to encoder: Encoder) throws
Parameters
Name | Description |
---|---|
encoder | The encoder to write data to. |
==(::)
public static func == (lhs: UserConsentStep, rhs: UserConsentStep) -> Bool
Parameters
Name | Description |
---|---|
lhs | A value to compare. |
rhs | Another value to compare. |