Beispiel #1
0
 /// <summary>
 /// This module requires authentication and any one of certain claims to be present.
 /// </summary>
 /// <param name="module">Module to enable</param>
 /// <param name="requiredClaims">Claim(s) required</param>
 public static void RequiresAnyClaim(this INancyModule module, params string[] requiredClaims)
 {
     module.RequiresAnyClaim(requiredClaims.AsEnumerable());
 }