internal static string BuildAuthority(AzureADB2COptions AzureADB2COptions)
        {
            var baseUri  = new Uri(AzureADB2COptions.AzureAdB2CInstance);
            var pathBase = baseUri.PathAndQuery.TrimEnd('/');
            var domain   = AzureADB2COptions.Tenant;
            var policy   = AzureADB2COptions.DefaultPolicy;

            return(new Uri(baseUri, new PathString($"{pathBase}/{domain}/{policy}/v2.0")).ToString());
        }
Example #2
0
 public AzureADB2COpenIDConnectEventHandlers(string schemeName, AzureADB2COptions options)
 {
     SchemeName = schemeName;
     Options    = options;
 }