Skip to content

TransistorAuthorizationToken

export interface TransistorAuthorizationToken {

Authorization token issued by a Transistor Software tracking server.

Returned from TransistorAuthorizationService.findOrCreate and used to configure the SDK's HTTP and authorization settings for the demo tracker.


Members

accessToken

accessToken: string;

JWT access token sent as Authorization: Bearer <token> on each upload.

expires

expires: number;

Expiry time of the access token (epoch milliseconds). Typically used to populate AuthorizationConfig.expires.

refreshToken

refreshToken: string;

JWT refresh token presented to the AuthorizationConfig.refreshUrl endpoint when the access token expires.

url

url: string;

Base URL of the tracker server that issued this token.