Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TokenData

Index

Constructors

constructor

  • new TokenData(access_token: string, token_type: string, scope: string, created_at: number, expires_in?: null | number, refresh_token?: null | string): TokenData
  • Parameters

    • access_token: string
    • token_type: string
    • scope: string
    • created_at: number
    • expires_in: null | number = null
    • refresh_token: null | string = null

    Returns TokenData

Properties

_scope

_scope: string

access_token

access_token: string

created_at

created_at: number

expires_in

expires_in: null | number = null

refresh_token

refresh_token: null | string = null

token_type

token_type: string

Accessors

accessToken

  • get accessToken(): string
  • OAuth Aceess Token

    Returns string

createdAt

  • get createdAt(): number
  • Application ID

    Returns number

expiresIn

  • get expiresIn(): null | number
  • Returns null | number

refreshToken

  • get refreshToken(): null | string
  • OAuth Refresh Token

    Returns null | string

scope

  • get scope(): string
  • Returns string

tokenType

  • get tokenType(): string
  • Returns string

Methods

Static from

Generated using TypeDoc