Пример #1
0
 public static ClaimsPrincipal GetPrinciple(string token)
 {
     if (_provider == null)
     {
         throw new NullReferenceException("Security provider not set");
     }
     return(_provider.GetPrinciple(token));
 }