WebAuthnRegistrationCallback

open class WebAuthnRegistrationCallback : WebAuthnCallback
extension WebAuthnRegistrationCallback: PlatformAuthenticatorRegistrationDelegate
extension WebAuthnRegistrationCallback: FRWebAuthnManagerDelegate

WebAuthnRegistrationCallback is a representation of AM’s WebAuthn Registration Node to generate WebAuthn attestation based on given credentials, and optionally set the WebAuthn outcome value in Node‘s designated HiddenValueCallback

Public properties

  • _type value in Callback response

    Declaration

    Swift

    public var _type: String
  • Relying Party Name value from Callback response

    Declaration

    Swift

    public var relyingPartyName: String
  • Attestation Preference enum value from authenticatorSelection attribute of Callback response

    Declaration

    Swift

    public var attestationPreference: WAAttestationPreference
  • Display Name of the user from Callback response

    Declaration

    Swift

    public var displayName: String
  • Relying Party Identifier value from Callback response

    Declaration

    Swift

    public var relyingPartyId: String
  • Username of the user from Callback response

    Declaration

    Swift

    public var userName: String
  • User Identifier value from Callback response

    Declaration

    Swift

    public var userId: String
  • Timeout value from Callback response

    Declaration

    Swift

    public var timeout: Int
  • Excluded credentials list of credential identifiers from Callback response

    Declaration

    Swift

    public var excludeCredentials: [[UInt8]]
  • Public Key Credentials Parameters from Callback response

    Declaration

    Swift

    public var pubKeyCredParams: [[String : Any]]
  • Challenge string value from Callback response

    Declaration

    Swift

    public var challenge: String
  • User Verification enum value from Callback response

    Declaration

    Swift

    public var userVerification: WAUserVerification
  • Boolean indicator of Require Resident Key value from Callback response

    Declaration

    Swift

    public var requireResidentKey: Bool
  • Authenticator Attachment option value from authenticatorSelection attribute of Callback response

    Declaration

    Swift

    public var authenticatorAttachment: WAAuthenticatorAttachment
  • Delegation to perform required user interaction while generating assertion

    Declaration

    Swift

    public weak var delegate: PlatformAuthenticatorRegistrationDelegate?

Lifecycle

  • Initializes WebAuthnRegistrationCallback from AM’s WebAuthn Registration Node JSON response

    Throws

    AuthErrorfor invalid Callback response

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON response of Callback

Public methods

WebAuthnManagerDelegate