public void Handle(MapClaimsFromAccount <CustomUserAccount> cmd)
 {
     cmd.MappedClaims = new System.Security.Claims.Claim[]
     {
         new System.Security.Claims.Claim(ClaimTypes.GivenName, cmd.Account.FirstName),
         new System.Security.Claims.Claim(ClaimTypes.Surname, cmd.Account.LastName),
     };
 }
예제 #2
0
 public void Handle(MapClaimsFromAccount <UserAccount> cmd)
 {
     cmd.MappedClaims = new[] { new Claim("TestClaim", "TestClaim") };
 }