Ejemplo n.º 1
0
 /// <summary>
 /// (probably) UserStoreWrapper sends Authentication info to interested parties like ourselves.
 /// </summary>
 private void authenticationEventHandler(AuthenticationEvent eventInfo)
 {
     this.AuthenticationToken = eventInfo.AuthenticationResult.AuthenticationToken;
     this.ShardId = eventInfo.AuthenticationResult.User.ShardId;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// someone (probably the UserStoreWrapper) provides authentication info, most
 /// likely after refreshing the autentication token.
 /// </summary>
 private void authenticationHandler(AuthenticationEvent eventInfo)
 {
     this.authToken = eventInfo.AuthenticationResult.AuthenticationToken;
 }