Exemplo n.º 1
0
        public async Task <IList <TUser> > GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default(CancellationToken))
        {
            cancellationToken.ThrowIfCancellationRequested();

            return(await userRepository.GetUsersByClaim(claim.Type, claim.Value, session, true));
        }