TESSA Web API
    Preparing search index...

    Class TwoFactorAuthService

    Service for interacting with two-factor authentication.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

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

      Parameters

      • id: string

        Login attempt identifier.

      • typeId: string

        2FA type identifier.

      • info: IStorage

        Additional data for request processing.

      Returns Promise<ISessionResult>

      Result of processing check request at 2FA session.

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

      Parameters

      • id: string

        Login attempt identifier.

      • typeId: string

        2FA type identifier.

      • info: IStorage

        Additional data for request processing.

      Returns Promise<TwoFactorAuthResult>

      Result of processing command request at 2FA session.

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

      Parameters

      • id: string

        Login attempt identifier.

      • typeId: string

        2FA type identifier.

      • info: IStorage

        Additional data for request processing.

      Returns Promise<TwoFactorAuthResult>

      Result of processing restart 2FA session request.