@azure/msal-browser
Version:
Microsoft Authentication Library for js
17 lines (16 loc) • 1.08 kB
TypeScript
import { SilentFlowRequest } from "@azure/msal-common";
/**
* SilentRequest: Request object passed by user to retrieve tokens from the
* cache, renew an expired token with a refresh token, or retrieve a code (first leg of authorization code grant flow)
* in a hidden iframe.
*
* - scopes - Array of scopes the application is requesting access to.
* - authority - Url of the authority which the application acquires tokens from.
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
* - account - Account entity to lookup the credentials.
* - forceRefresh - Forces silent requests to make network calls if true.
* - redirectUri - The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal. Only used for cases where refresh token is expired.
*/
export declare type SilentRequest = SilentFlowRequest & {
redirectUri?: string;
};