AcquireTokenOptions.ForceRefresh Property

Definition

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

Property Value

Applies to