FRWebAuthn

public class FRWebAuthn : NSObject

FRWebAuthn is a utility class providing helper methods for listing and deleting WebAuthn keys stored on the device. The provided static methods are: public static func deleteCredentials(by rpId: String) public static func loadAllCredentials(by rpId: String) -> [PublicKeyCredentialSource] public static func deleteCredential(with publicKeyCredentialSource: PublicKeyCredentialSource)

  • Deletes stored credentials for a specific Relying Party Identifier

    Declaration

    Swift

    public static func deleteCredentials(by rpId: String)

    Parameters

    rpId

    Relying Party Identifier

  • Returns all the stored credentials for a specific Relying Party Identifier

    Declaration

    Swift

    public static func loadAllCredentials(by rpId: String) -> [PublicKeyCredentialSource]

    Parameters

    rpId

    Relying Party Identifier

  • Deletes a stored WebAuthn Credential (PublicKeyCredentialSource)

    Declaration

    Swift

    public static func deleteCredential(with publicKeyCredentialSource: PublicKeyCredentialSource)

    Parameters

    publicKeyCredentialSource

    PublicKeyCredentialSource