public virtual async Task RemoveAsync(string key) { var persistedGrant = await PersistentGrantRepository.FindByKeyAsync(key); if (persistedGrant == null) { return; } await PersistentGrantRepository.DeleteAsync(persistedGrant); }
public virtual async Task RemoveAllAsync(string subjectId, string clientId, string type) { await PersistentGrantRepository.DeleteAsync(subjectId, clientId, type); }