Class AcquireTokenByRefreshTokenParameterBuilder
Parameter builder for the AcquireTokenByRefreshToken(IEnumerable<string>, string) method. See https://aka.ms/msal-net-migration-adal2-msal2
public sealed class AcquireTokenByRefreshTokenParameterBuilder : AbstractClientAppBaseAcquireTokenParameterBuilder<AcquireTokenByRefreshTokenParameterBuilder>
- Inheritance
-
AcquireTokenByRefreshTokenParameterBuilder
- Inherited Members
- Extension Methods
Methods
Validate()
Validates the parameters of the AcquireToken operation.
protected override void Validate()
WithSendX5C(bool)
Applicable to first-party applications only, this method also allows to specify if the x5c claim should be sent to Azure AD. Sending the x5c enables application developers to achieve easy certificate roll-over in Azure AD: this method will send the certificate chain to Azure AD along with the token request, so that Azure AD can use it to validate the subject name based on a trusted issuer policy. This saves the application admin from the need to explicitly manage the certificate rollover (either via portal or PowerShell/CLI operation). For details see https://aka.ms/msal-net-sni
public AcquireTokenByRefreshTokenParameterBuilder WithSendX5C(bool withSendX5C)
Parameters
withSendX5C
booltrue
if the x5c should be sent. Otherwisefalse
. The default isfalse
Returns
- AcquireTokenByRefreshTokenParameterBuilder
The builder to chain the .With methods