@acceleratxr/core_sdk / AuthToken
Class: AuthToken#
Describes an authorization token as returned by account services.
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
AuthToken
Index#
Constructors#
Properties#
Constructors#
constructor#
+ new AuthToken(other?: any): AuthToken
Defined in src/models/AuthToken.ts:22
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: AuthToken
Properties#
refresh#
• refresh: string = “”
Defined in src/models/AuthToken.ts:16
The token used to re-authenticate in the future.
token#
• token: string = “”
Defined in src/models/AuthToken.ts:18
The primary access token used to identify the user.
type#
• type: AuthTokenType = AuthTokenType.ACCESS
Defined in src/models/AuthToken.ts:20
The type of auth token that was returned by the service.
userUid#
• userUid: string = “”
Defined in src/models/AuthToken.ts:22
The unique identifier of the authenticated user.