Beispiel #1
0
        public Task AddClaimAsync(User user, Claim claim)
        {
            var c = new Core.Security.Claim();

            c.Type  = claim.Type;
            c.Value = claim.Value;

            user.Claims.Add(c);
            return(Task.FromResult(0));
        }
Beispiel #2
0
        public Task AddClaimAsync(User user, Claim claim)
        {
            var c = new Core.Security.Claim();
            c.Type = claim.Type;
            c.Value = claim.Value;

            user.Claims.Add(c);
            return Task.FromResult(0);
        }