CLASS

WebAuthnRegistrationClientOperationActionModel.CredentialRequestOptions

Contents

swift
public class CredentialRequestOptions

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

Properties

relyingPartyId

swift
public let relyingPartyId: String?

The Registration Relying Party Identifier (rpId).

challengeData

swift
public let challengeData: Data?

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

userIdData

swift
public let userIdData: Data?

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

userName

swift
public let userName: String?

The user name (user.name).

displayName

swift
public let displayName: String?

The user display name (user.displayName).

userVerification

swift
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

swift
public let attestation: String?

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