Edit

Share via


SilentRequest type

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.

type SilentRequest = Omit<
  CommonSilentFlowRequest,
  "authority" | "correlationId" | "forceRefresh" | "account"
> & {
  account?: AccountInfo
  authority?: string
  cacheLookupPolicy?: CacheLookupPolicy
  correlationId?: string
  extraQueryParameters?: StringDict
  forceRefresh?: boolean
  prompt?: string
  redirectUri?: string
  state?: string
}