public static bool IsAuthLatestVersion(this IPrincipal user) { return(CurrentVersion == user.GetClaimByType <int>("Version")); }