STRUCT

OAuthAuthorizationResponseStep

Contents

public struct OAuthAuthorizationResponseStep: HaapiRepresentation

An OAuth 2.0 authorization response, which provides the client with response parameters such as code and state. It signals the end of the authorization request flow.

The code of the OAuth authorization can be obtained via the oauthAuthorizationResponseProperties.

Properties

metadata

public let metadata: Metadata?

messages

public let messages: [UserMessage]

links

public let links: [Link]

oauthAuthorizationResponseProperties

public let oauthAuthorizationResponseProperties: OAuthAuthorizationResponseProperties

The OAuthAuthorizationResponse properties.

type

public let type: RepresentationType = .oauthAuthorizationResponse

actions

public let actions: [Action] = []

Possible actions a user or the client may choose to take to continue the flow.

properties

public var properties: Properties?

The properties of the step.