public async Task <IList <IUserClaim> > GetClaimsByUser(int siteId, string userId, CancellationToken cancellationToken = default(CancellationToken))
        {
            cancellationToken.ThrowIfCancellationRequested();
            DbDataReader reader = dbUserClaims.GetByUser(siteId, userId);

            return(LoadClaimListFromReader(reader));
        }
Exemple #2
0
        public async Task <IList <IUserClaim> > GetClaimsByUser(int siteId, string userId)
        {
            DbDataReader reader = dbUserClaims.GetByUser(siteId, userId);

            return(LoadClaimListFromReader(reader));
        }