Skip to content

Commit 5c54939

Browse files
authored
Merge branch 'master' into dev
2 parents 7633d01 + e34e382 commit 5c54939

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/microsoft/aad/msal4j/ClaimsRequest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
package com.microsoft.aad.msal4j;
55

6+
67
import com.fasterxml.jackson.core.type.TypeReference;
78
import com.fasterxml.jackson.databind.JsonNode;
89
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -41,6 +42,7 @@ public void requestClaimInIdToken(String claim, RequestedClaimAdditionalInfo req
4142
}
4243

4344
/**
45+
4446
* Inserts a claim into the list of claims to be added to the "userinfo" section of an OIDC claims request
4547
*
4648
* @param claim the name of the claim to be requested
@@ -86,6 +88,7 @@ private ObjectNode convertClaimsToObjectNode(List<RequestedClaim> claims) {
8688
ObjectMapper mapper = new ObjectMapper();
8789
ObjectNode claimsNode = mapper.createObjectNode();
8890

91+
8992
for (RequestedClaim claim : claims) {
9093
claimsNode.setAll((ObjectNode) mapper.valueToTree(claim));
9194
}

0 commit comments

Comments
 (0)