public void Configure(string name, PolicySchemeOptions options)
 {
     if (!string.Equals(name, AzureADDefaults.AuthenticationScheme, StringComparison.Ordinal))
     {
         return;
     }
     options.ForwardDefault   = "Identity.External";
     options.ForwardChallenge = AzureADDefaults.OpenIdScheme;
 }
 public void Configure(PolicySchemeOptions options) => Debug.Fail("This infrastructure method shouldn't be called.");
Пример #3
0
 public static void ConfigureSelector(PolicySchemeOptions opts)
 => opts.ForwardDefaultSelector = SelectPolicy;