Пример #1
0
 private void Apply(UserMsgs.AuthDomainMapped evt)
 {
     if (!_mappedAuthDomains.ContainsKey(evt.SubjectId))
     {
         _mappedAuthDomains.Add(evt.SubjectId, evt.UserName);
     }
 }
Пример #2
0
 public void Handle(UserMsgs.AuthDomainMapped @event)
 {
     SubjectId    = @event.SubjectId;
     AuthProvider = @event.AuthProvider;
     AuthDomain   = @event.AuthDomain;
     UserName     = @event.UserName;
 }