CLASS

WebAuthnRegistrationClientOperationActionModel.CredentialRequestOptions

Contents

public class CredentialRequestOptions

A model that contains the base common configuration to build the ASAuthorizationPublicKeyCredentialRegistrationRequest in the client app.

Properties

relyingPartyId

public let relyingPartyId: String?

The Registration Relying Party Identifier (rpId).

challengeData

public let challengeData: Data?

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

userIdData

public let userIdData: Data?

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

userName

public let userName: String?

The user name (user.name).

displayName

public let displayName: String?

The user display name (user.displayName).

userVerification

public let userVerification: String?

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

attestation

public let attestation: String?

The kind of attestation that the authenticator should attempt to perform.