public static IEnumerable <Claim> ExtractClaims(this JsonWebToken token)
        {
            ArgumentUtility.CheckForNull(token, nameof(token));

            return(TranslateFromJwtClaims(token.Payload));
        }
        public static bool IsExpired(this JsonWebToken token)
        {
            ArgumentUtility.CheckForNull(token, nameof(token));

            return(DateTime.UtcNow > token.ValidTo);
        }