Exemplo n.º 1
0
        public void When(AddSecurityIdentity c)
        {
            var user  = new UserId(_identityGenerator.GetId());
            var token = _generator.CreateToken();

            Apply(new SecurityIdentityAdded(c.Id, user, c.DisplayName, c.Identity, token));
        }
 public void When(AddSecurityIdentity c)
 {
     Update(c, a => a.AddIdentity(_ids, _pwds, c.DisplayName, c.Identity));
 }
Exemplo n.º 3
0
 static string When(AddSecurityIdentity c)
 {
     return string.Format("Add identity '{0}': {1}", c.DisplayName, c.Identity);
 }
 public void When(AddSecurityIdentity c)
 {
     Update(c, a => a.AddIdentity(_ids, _pwds, c.DisplayName, c.Identity));
 }
Exemplo n.º 5
0
 static string When(AddSecurityIdentity c)
 {
     return(string.Format("Add identity '{0}': {1}", c.DisplayName, c.Identity));
 }