@azure/msal-browser
Version:
Microsoft Authentication Library for js
24 lines • 1.71 kB
TypeScript
import { AccountInfo, CommonSilentFlowRequest, StringDict } 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.
* - extraQueryParameters - String to string map of custom query parameters added to the /authorize call. Only used when renewing the refresh token.
* - tokenQueryParameters - String to string map of custom query parameters added to the /token call. Only used when renewing access tokens.
* - 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 = Omit<CommonSilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account" | "requestedClaimsHash"> & {
redirectUri?: string;
extraQueryParameters?: StringDict;
authority?: string;
account?: AccountInfo;
correlationId?: string;
forceRefresh?: boolean;
};
//# sourceMappingURL=SilentRequest.d.ts.map