Beispiel #1
0
        /// <inheritdoc/>
        public override async Task <IList <TUser> > GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();
            ThrowIfDisposed();
            claim.ThrowIfNull(nameof(claim));
            var users = await UsersTable.GetUsersForClaimAsync(claim);

            return(users.ToList());
        }
Beispiel #2
0
 public Task <IList <ApplicationUser> > GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default)
 {
     cancellationToken.ThrowIfCancellationRequested();
     claim.ThrowIfNull(nameof(claim));
     return(_usersTable.GetUsersForClaimAsync(claim));
 }