/// <summary> /// Adds a known authority corresponding to an Azure AD B2C policy. /// See https://aka.ms/msal-net-b2c-specificities /// </summary> /// <param name="authorityUri">Azure AD B2C authority, including the B2C policy (for instance /// <c>"https://fabrikamb2c.b2clogin.com/tfp/{Tenant}/{policy}</c></param>) /// <returns>The builder to chain the .With methods</returns> public T WithB2CAuthority(string authorityUri) { var authorityInfo = AuthorityInfo.FromB2CAuthority(authorityUri); Config.Authority = B2CAuthority.CreateAuthority(authorityInfo); return((T)this); }
/// <summary> /// Adds a known authority corresponding to an Azure AD B2C policy. /// See https://aka.ms/msal-net-b2c-specificities /// </summary> /// <param name="authorityUri">Azure AD B2C authority, including the B2C policy (for instance /// <c>"https://fabrikamb2c.b2clogin.com/tfp/{Tenant}/{policy}</c></param>) /// <returns>The builder to chain the .With methods</returns> public T WithB2CAuthority(string authorityUri) { Config.AuthorityInfo = AuthorityInfo.FromB2CAuthority(authorityUri); return((T)this); }