public static int GetRulePlaceUtilisateur(this HttpContext context) { string t = RetrieveTokken.GetClaim("idRulePlace", context); return(int.Parse(t != null ? t : 0.ToString())); }
public static int GetPlaceUtilisateur(this HttpContext context) { return(int.Parse(RetrieveTokken.GetClaim("idPlace", context))); }
public static int GetIdRegion(this HttpContext context) { return(int.Parse(RetrieveTokken.GetClaim("idRegion", context))); }
public static string GetRoleUtilisateur(this HttpContext context) { return(RetrieveTokken.GetClaim("role", context)); }
public static int GetIdUtilisateur(this HttpContext context) { return(int.Parse(RetrieveTokken.GetClaim("unique_name", context))); }