ping-identity
    Preparing search index...

    Interface FidoClient

    Reusable client for FIDO operations.

    interface FidoClient {
        authenticate(
            options: FidoAuthenticationOptions,
        ): Promise<FidoAuthenticationResult>;
        authenticateForDaVinci(
            daVinci: DaVinciInstance,
            options?: FidoDaVinciAuthenticationOptions,
        ): Promise<FidoDaVinciResult>;
        authenticateForJourney(
            journey: JourneyInstance,
            options?: FidoJourneyAuthenticationOptions,
        ): Promise<FidoJourneyResult>;
        register(options: FidoRegistrationOptions): Promise<FidoRegistrationResult>;
        registerForDaVinci(
            daVinci: DaVinciInstance,
            options?: FidoDaVinciRegistrationOptions,
        ): Promise<FidoDaVinciResult>;
        registerForJourney(
            journey: JourneyInstance,
            options?: FidoJourneyRegistrationOptions,
        ): Promise<FidoJourneyResult>;
    }
    Index

    Methods

    • Runs the native FIDO passkey ceremony for an active DaVinci FIDO2 authentication collector.

      Parameters

      Returns Promise<FidoDaVinciResult>

      A promise that resolves to the WebAuthn assertion payload. Informational only — submit natively by advancing the flow with daVinci.next({ collectors: [] }).

      FidoError when the ceremony fails or the collector cannot be resolved.

    • Runs the native FIDO passkey ceremony for an active DaVinci FIDO2 registration collector.

      Parameters

      Returns Promise<FidoDaVinciResult>

      A promise that resolves to the WebAuthn attestation payload. Informational only — submit natively by advancing the flow with daVinci.next({ collectors: [] }).

      FidoError when the ceremony fails or the collector cannot be resolved.