AbstractAcquireTokenParameterBuilder<T>.WithB2CAuthority(String) 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.
Adds a known authority corresponding to an Azure AD B2C policy. See https://aka.ms/msal-net-b2c-specificities
public T WithB2CAuthority (string authorityUri);
member this.WithB2CAuthority : string -> 'T
Public Function WithB2CAuthority (authorityUri As String) As T
Parameters
- authorityUri
- String
Azure AD B2C authority, including the B2C policy (for instance
"https://fabrikamb2c.b2clogin.com/tfp/{Tenant}/{policy}
Returns
T
The builder to chain the .With methods.