STRUCT
UserConsentStep
Contents
- Properties
actions
metadata
messages
links
properties
rawJsonString
type
- Methods
init(from:)
encode(to:)
==(_:_:)
public struct UserConsentStep: HaapiRepresentation
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
actions
public let actions: [Action]
Possible actions a user or the client may choose to take to continue the flow.
metadata
public let metadata: Metadata?
messages
public let messages: [UserMessage]
links
public let links: [Link]
properties
public let properties: (any Properties)?
rawJsonString
public let rawJsonString: String?
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. |