CLASS

ExternalBrowserClientOperationActionModel

Contents

public final class ExternalBrowserClientOperationActionModel: ClientOperationActionModel

Model for the external browser client operation, which instructs a client that an external browser needs to be used to continue the flow.

For more information, refer to the HAAPI Data Model documentation.

Properties

href

public let href: String

The URL where the browser should be opened.

Methods

init(from:)

public required init(from decoder: Decoder) throws

urlToLaunch(redirectTo:)

public func urlToLaunch(redirectTo: String) -> URL?

Returns the URL that should be used to open an external browser.

Parameters

Name Description
redirectTo The String to which the browser should redirect after the external browser flow is complete (deep link)