Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Authorization

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { setupPasswordRequired?: boolean; otherwiseReloginDays?: number; tmpSessions?: number; futureAuthToken?: Buffer; user: TypeUser }

Type declaration

  • Optional setupPasswordRequired?: boolean
  • Optional otherwiseReloginDays?: number
  • Optional tmpSessions?: number
  • Optional futureAuthToken?: Buffer
  • user: TypeUser
CONSTRUCTOR_ID: 782418132
SUBCLASS_OF_ID: 3118485049
classType: "constructor"
className: "auth.Authorization"
setupPasswordRequired?: boolean
otherwiseReloginDays?: number
tmpSessions?: number
futureAuthToken?: Buffer
user: TypeUser

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { setupPasswordRequired?: boolean; otherwiseReloginDays?: number; tmpSessions?: number; futureAuthToken?: Buffer; user: TypeUser }
  • Returns { setupPasswordRequired?: boolean; otherwiseReloginDays?: number; tmpSessions?: number; futureAuthToken?: Buffer; user: TypeUser }

    • Optional setupPasswordRequired?: boolean
    • Optional otherwiseReloginDays?: number
    • Optional tmpSessions?: number
    • Optional futureAuthToken?: Buffer
    • user: TypeUser

Constructors

  • new Authorization(args: { setupPasswordRequired?: boolean; otherwiseReloginDays?: number; tmpSessions?: number; futureAuthToken?: Buffer; user: TypeUser }): Api.auth.Authorization
  • Parameters

    • args: { setupPasswordRequired?: boolean; otherwiseReloginDays?: number; tmpSessions?: number; futureAuthToken?: Buffer; user: TypeUser }
      • Optional setupPasswordRequired?: boolean
      • Optional otherwiseReloginDays?: number
      • Optional tmpSessions?: number
      • Optional futureAuthToken?: Buffer
      • user: TypeUser

    Returns Api.auth.Authorization

Generated using TypeDoc