public static AuthorizationPolicy Policy() =>
 PolicyBuilder.Policy(CanViewLocations, "true");
Example #2
0
 public static AuthorizationPolicy Policy() =>
 PolicyBuilder.Policy(CanViewProducts, "true");
Example #3
0
 public static AuthorizationPolicy Policy() =>
 PolicyBuilder.Policy("scope", "api1");