public Task BlacklistToken(string token)
        {
            if (string.IsNullOrWhiteSpace(token))
            {
                throw new ArgumentNullException(token);
            }

            var cacheKey = GetCacheKey(token);

            return(_cache.AddOrUpdate(
                       cacheKey,
                       token,
                       TimeSpan.FromSeconds(_authenticationConfiguration.TokenLifetimeInSeconds)
                       ));
        }