STRUCT

WebAuthnRegistrationClientOperationActionModel.CrossPlatformCredentialRequestOptions

Contents

public struct CrossPlatformCredentialRequestOptions: CredentialRequestOptions, CredentialRequestOptionsContext

A model that contains the necessary configuration to build the ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest in the client app.

Properties

relyingPartyId

public let relyingPartyId: String?

challengeData

public let challengeData: Data?

userIdData

public let userIdData: Data?

userName

public let userName: String?

displayName

public let displayName: String?

userVerification

public let userVerification: String?

attestation

public let attestation: String?

publicKeyCredParams

public let publicKeyCredParams: [CredentialParams]?

The public key credential parameters supported by RP. Allows to build a list of ASAuthorizationPublicKeyCredentialParameters.

excludedCredentials

public let excludedCredentials: [ExcludedCredential]?

A list of credentials which must not already exist on the authenticator. If a credential already exists on the authenticator which matches one or more of these descriptors, a new credential will not be created and authentication will fail. It allows to buld a list of ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor.