Exemplo n.º 1
0
        public virtual async Task RemoveAsync(string key)
        {
            var persistedGrant = await PersistentGrantRepository.FindByKeyAsync(key);

            if (persistedGrant == null)
            {
                return;
            }

            await PersistentGrantRepository.DeleteAsync(persistedGrant);
        }
Exemplo n.º 2
0
 public virtual async Task RemoveAllAsync(string subjectId, string clientId, string type)
 {
     await PersistentGrantRepository.DeleteAsync(subjectId, clientId, type);
 }