Service for interacting with two-factor authentication.

Hierarchy

  • ITwoFactorAuthService

Implemented by

Methods

  • Process check request at 2FA session with info for login attempt with identifier id.

    Returns

    Result of processing check request at 2FA session.

    Parameters

    • id: string

      Login attempt identifier.

    • typeId: string

      2FA type identifier.

    • info: IStorage<unknown>

      Additional data for request processing.

    Returns Promise<ISessionResult>

  • Process command request at 2FA session with info for login attempt with identifier id.

    Returns

    Result of processing command request at 2FA session.

    Parameters

    • id: string

      Login attempt identifier.

    • typeId: string

      2FA type identifier.

    • info: IStorage<unknown>

      Additional data for request processing.

    Returns Promise<TwoFactorAuthResult>

  • Process restart 2FA session request with type typeId for login attempt with identifier id.

    Returns

    Result of processing restart 2FA session request.

    Parameters

    • id: string

      Login attempt identifier.

    • typeId: string

      2FA type identifier.

    • info: IStorage<unknown>

      Additional data for request processing.

    Returns Promise<TwoFactorAuthResult>

Generated using TypeDoc