CLASS

EncapAutoActivationClientOperationActionModel

Contents

public final class EncapAutoActivationClientOperationActionModel: ClientOperationActionModel

Model for the Encap auto activation client operation, which instructs a client that it should use the non-interactive device activation flow.

This can only be used when the client requesting authentication also implements the Encap client using the Encap SDK. For more information, refer to the HAAPI Data Model documentation

Properties

activationCode

public let activationCode: String

The activation code that should be sent to Encap using the mobile SDK.

href

public let href: String

A ready-to-use URL to launch the application that uses the Encap mobile SDK.

urlToLaunch

public var urlToLaunch: URL?

Returns the URL that should be used to open the Encap application.

Methods

init(from:)

public required init(from decoder: Decoder) throws

encode(to:)

override public func encode(to encoder: Encoder) throws