예제 #1
0
 public static string MapIdentityResourceClaims(this IdentityResourceClaims client)
 {
     return(client.Type);
 }
예제 #2
0
 public void AddClaims(List <ClaimType> claims, int creatorId)
 {
     claims.ForEach(x => IdentityResourceClaims.Add(new IdentityResourceClaim(creatorId, this.Id, x.Id)));
 }