STRUCT
BankIdClientOperationStep
Contents
- Properties
activationLink
actionModel
metadata
type
actions
links
messages
properties
continueActions
errorActions
- Methods
urlToLaunch(redirectTo:)
public struct BankIdClientOperationStep: ClientOperationStep
A step that 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
activationLink
public let activationLink: Link?
The activation link for BankId. This Link has to be transformed into a QRCode image.
actionModel
public let actionModel: BankIdClientOperationActionModel
The BankID action details.
metadata
public let metadata: Metadata?
type
public let type: RepresentationType
actions
public let actions: [Action]
An array of Action
that contains possible actions a user or the client may choose to take to continue the flow.
links
public let links: [Link]
messages
public let messages: [UserMessage]
properties
public let properties: Properties?
continueActions
public var continueActions: [Action]
Returns the actions that should be displayed when the BankID application has been opened.
errorActions
public var errorActions: [Action]
Returns the actions that should to be displayed when the BankID application could not be opened.
Methods
urlToLaunch(redirectTo:)
public func urlToLaunch(redirectTo: String) -> URL?
Returns the URL
that should be used to open the BankID application.
- Parameters:
- redirectTo: A String that represents a redirection to your application (deeplink).
Parameters
Name | Description |
---|---|
redirectTo | A String that represents a redirection to your application (deeplink). |