AcquireTokenByUserFederatedIdentityCredentialParameterBuilder.WithForceRefresh Method
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.
Forces MSAL to refresh the token from the identity provider even if a cached token is available.
public Microsoft.Identity.Client.AcquireTokenByUserFederatedIdentityCredentialParameterBuilder WithForceRefresh(bool forceRefresh);
member this.WithForceRefresh : bool -> Microsoft.Identity.Client.AcquireTokenByUserFederatedIdentityCredentialParameterBuilder
Public Function WithForceRefresh (forceRefresh As Boolean) As AcquireTokenByUserFederatedIdentityCredentialParameterBuilder
Parameters
- forceRefresh
- Boolean
true to bypass the cache; otherwise false. Default is false.
Returns
The builder to chain the .With methods