Hierarchy

Constructors

Methods

  • Confirm OTP enabling process for a given OTP Type

    Parameters

    • pinCode: string
    • typeOTP: OTPType

      authenticator, sms or email

    Returns Promise<string>

  • Enable OTP for a given OTP Type

    Parameters

    • credentials: {
          email: string;
          password: string;
      }

      Credentials

      • email: string
      • password: string
    • typeOTP: OTPType

      authenticator, sms or email

    Returns Promise<string>

  • Enable OTP for a given OTP Type. You will be requested to confirm the operation with a pin code.

    Parameters

    • credentials: {
          email: string;
          password: string;
      }

      Credentials

      • email: string
      • password: string
    • typeOTP: OTPType

      authenticator, sms or email

    Returns Promise<string>

  • Change account password

    Parameters

    • password: string

      New Password

    Returns Promise<string>

  • Accept a team member invitation to become a profile's team member.

    Parameters

    • token: string

    Returns Promise<string>

    Success message.

  • Confirm account creation

    Parameters

    • token: string

      Confirmation token

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>

  • Decline a team member invitation to become a profile's team member.

    Parameters

    • token: string

    Returns Promise<string>

    Success message.

  • Send password recover email

    Parameters

    • email: string

      E-mail to recovery

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>

  • Request the PIN Code for a given OTP Type.

    Parameters

    • credentials: {
          email: string;
          password: string;
      }

      Credentials

      • email: string
      • password: string
    • typeOTP: OTPType

      authenticator, sms or email

    • Optional region: Regions

    Returns Promise<string>

  • Re-send confirmation account email

    Parameters

    • email: string

      E-mail address

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>

  • Generates and retrieves a new token for the account

    Parameters

    Returns Promise<{
        token: string;
    }>