CLASS

WebAuthnAuthenticationClientOperationActionModel

Contents

public final class WebAuthnAuthenticationClientOperationActionModel: ClientOperationActionModel

Represents the model for the WebAuthn authentication operation, which instructs a client that WebAuthn needs to be used to continue the flow. The client should guide the user in asserting a request by using a device or security-key, according to the options defined by this model. Authentication Services native APIs provide support for both platform and cross-platform authenticators, thus the model provides configuration for each separately. Depending on the server response, this model will provide configuration for either one or both. When both configurations are present, the user should be presented with a choice.

Properties

arguments

public let arguments: [String: Any]

JSON representation of the client operation arguments.

credentialOptions

public var credentialOptions: CredentialRequestOptions

Authentication PublicKey configuration options.

fallbackActions

public var fallbackActions: [Action]

Returns the actions that should be triggered when WebAuthnhandling fails or is impossible to use with the native APIs.

Methods

init(from:)

public required init(from decoder: Decoder) throws

encode(to:)

override public func encode(to encoder: Encoder) throws