public static void InitFromClaims(this ISessionContext sessionContext, Claim[] claims)
 {
     sessionContext.Init(
         GetInt(claims, ClaimTypes.Sid),
         GetStr(claims, ClaimTypes.Name),
         GetInt(claims, TokenProvider.OIdClaim),
         GetStr(claims, TokenProvider.ONameClaim),
         GetStr(claims, TokenProvider.OUidClaim),
         GetBool(claims, TokenProvider.ForSupportClaim),
         GetList(claims, TokenProvider.PermissionClaim));
 }