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