TokenFetcher TypeAlias
Method signature for callback method used to fetch access token
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/odsp-driver-definitions/legacy
.
For more information about our API support guarantees, see here.
Signature
export type TokenFetcher<T> = (options: T) => Promise<string | TokenResponse | null>;
Type Parameters
Parameter | Description |
---|---|
T |