@trimble-oss/trimble-id
Version:
Trimble Identity SDK for JavaScript/ TypeScript
11 lines • 346 B
TypeScript
/**
* @interface ITokenProvider
* @description Interface for a token provider
*/
export interface ITokenProvider {
/**
* @description Retrieves an access token for the authenticated user
* @returns {PromiseLike<string>} A Task that resolves to the value of the access token on completion
*/
RetrieveToken(): Promise<string>;
}