CLASS

BankIdClientOperationActionModel

Contents

public final class BankIdClientOperationActionModel: ClientOperationActionModel

Model for the BankID client operation, which instructs a client that the BankID native application should be used to continue the flow.

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

Properties

autoStartToken

public let autoStartToken: String

The token that can be used if the client itself creates the launch URL.

redirect

public let redirect: String

The redirect URI that can be used if the client itself creates the launch URL.

href

public let href: String

A ready-to-use URL to launch the BankID application.

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 the BankId application.

Parameters

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