Type alias Credentials

Credentials: {
    accessToken: string;
    expiresAt: number;
    idToken: string;
    refreshToken?: string;
    scope?: string;
    tokenType: string;
    [key: string]: any;
}

Type declaration

  • [key: string]: any
  • accessToken: string

    The token used to make API calls

  • expiresAt: number

    Used to denote when the token will expire, as a UNIX timestamp

  • idToken: string

    A token in JWT format that has user claims

  • Optional refreshToken?: string

    The token used to refresh the access token

  • Optional scope?: string

    Represents the scope of the current token

  • tokenType: string

    The type of the token, e.g.: Bearer

Generated using TypeDoc