Class RunUser

Hierarchy

Index

Constructors

constructor

Properties

SDB

SDB: SDB = new SDB(this.params)

Methods

confirmOTP

  • confirmOTP(tagoIORunURL: string, pinCode: string, typeOTP: OTPType): Promise<string>
  • Confirm OTP enabling process for a given OTP Type

    Parameters

    • tagoIORunURL: string
    • pinCode: string
    • typeOTP: OTPType

      authenticator, sms or email

    Returns Promise<string>

disableOTP

edit

  • edit(tagoIORunURL: string, userChangesObj: Partial<RunUserInfo>): Promise<string>
  • Edit Run user info

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • userChangesObj: Partial<RunUserInfo>

      Data to change in user

    Returns Promise<string>

enableOTP

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

    Parameters

    Returns Promise<string>

info

notificationButton

  • notificationButton(tagoIORunURL: string, notificationID: GenericID, buttonID: GenericID): Promise<any>
  • Trigger notification button

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • notificationID: GenericID

      TagoIO Run notification id

    • buttonID: GenericID

      Notification button id

    Returns Promise<any>

notificationDelete

  • notificationDelete(tagoIORunURL: string, notificationID: GenericID): Promise<string>
  • Delete notification

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • notificationID: GenericID

      TagoIO Run notification id

    Returns Promise<string>

notificationList

notificationMarkAllRead

  • notificationMarkAllRead(tagoIORunURL: string): Promise<string>
  • Mark all notifications as read

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    Returns Promise<string>

notificationMarkRead

  • notificationMarkRead(tagoIORunURL: string, notificationIDs: GenericID | GenericID[]): Promise<string>

notificationMarkUnread

  • notificationMarkUnread(tagoIORunURL: string, notificationIDs: GenericID | GenericID[]): Promise<string>

passwordChange

  • passwordChange(tagoIORunURL: string, password: string): Promise<string>
  • Change password using token of the password recover.

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • password: string

      New password

    Returns Promise<string>

Static confirmUser

  • Confirm User on TagoIO Run (Anonymous)

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • token: GenericToken

      TagoIO Run user token

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>

Static create

Static login

Static passwordRecover

  • passwordRecover(tagoIORunURL: string, email: string, region?: Regions): Promise<string>
  • Sends a password recover e-mail

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • email: string

      Run user email to recover the password

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>

Static requestLoginPINCode