Exemplo n.º 1
0
        public virtual void DeleteAllPersistedGrant(int userId, int clientId, string type)
        {
            var persistedGrantEntityList = type == null
                ? m_persistedGrantRepository.GetAllForUserClient(userId, clientId)
                : m_persistedGrantRepository.GetAllForUserClientType(userId, clientId, type);

            m_persistedGrantRepository.DeleteAll(persistedGrantEntityList);
        }