AcquireTokenOptions.ForceRefresh Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies if the token request will ignore the access token in the token cache
and will attempt to acquire a new access token.
If true
, the request will ignore the token cache. The default is false
.
Use this option with care and only when needed, for instance, if you know that conditional access policies have changed,
for it induces performance degradation, as the token cache is not utilized, and the STS might throttle the app.
public bool ForceRefresh { get; set; }
member this.ForceRefresh : bool with get, set
Public Property ForceRefresh As Boolean