CLASS

WebAuthnAuthenticationClientOperationActionModel.CredentialRequestOptions

Contents

public final class CredentialRequestOptions

The public key model for the assertion request that contains the necessary configuration to build an ASAuthorizationPublicKeyCredentialAssertionRequest.

Properties

relyingPartyId

public let relyingPartyId: String?

The Assertion Relying Party Identifier.

challengeData

public let challengeData: Data?

The Challenge Data already encoded in the format required by the authenticator API.

platformAllowCredentials

public let platformAllowCredentials: [AllowedCredential]?

The list that represents the allowed credentials available to configure the platform authenticator request. It allows to build a list of ASAuthorizationPlatformPublicKeyCredentialDescriptor.

crossPlatformAllowCredentials

public let crossPlatformAllowCredentials: [AllowedCredential]?

The list that represents the allowed credentials available to configure the crossplatform authenticator request. It allows to build a list of ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor.

userVerificationPreference

public let userVerificationPreference: String?

The configuration instructing that the Authenticator should attempt to verify that it is being used by its owner, such as through a PIN or biometrics. Use to build a ASAuthorizationPublicKeyCredentialUserVerificationPreference.