Searched refs:requestedClaims (Results 1 - 13 of 13) sorted by relevance

/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/oauth2/openid/
H A DOidcClaimsExtensionTest.java107 Map<String, Set<String>> requestedClaims = new HashMap<String, Set<String>>();
108 requestedClaims.put("given_name", asSet("fred"));
109 requestedClaims.put("family_name", asSet("flintstone"));
110 Bindings variables = testBindings(asSet("profile"), requestedClaims);
136 Map<String, Set<String>> requestedClaims = new HashMap<String, Set<String>>();
137 requestedClaims.put("given_name", asSet("fred"));
138 requestedClaims.put("family_name", asSet("flintstone"));
139 Bindings variables = testBindings(asSet("openid"), requestedClaims);
197 private <T> Bindings testBindings(Set<String> scopes, Map<String, Set<T>> requestedClaims) { argument
205 scriptVariables.put("requestedClaims", requestedClaim
[all...]
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/openidconnect/
H A DOidcClaimsExtensionTest.java108 Map<String, Set<String>> requestedClaims = new HashMap<String, Set<String>>();
109 requestedClaims.put("given_name", asSet("fred"));
110 requestedClaims.put("family_name", asSet("flintstone"));
111 Bindings variables = testBindings(asSet("profile"), requestedClaims);
137 Map<String, Set<String>> requestedClaims = new HashMap<String, Set<String>>();
138 requestedClaims.put("given_name", asSet("fred"));
139 requestedClaims.put("family_name", asSet("flintstone"));
140 Bindings variables = testBindings(asSet("openid"), requestedClaims);
198 private <T> Bindings testBindings(Set<String> scopes, Map<String, Set<T>> requestedClaims) { argument
206 scriptVariables.put("requestedClaims", requestedClaim
[all...]
/forgerock/openam-v13/openam-scripting/src/main/groovy/
H A Doidc-claims-extension.groovy27 * requestedClaims - Map<String, Set<String>>
106 map << scopeClaims.findAll { c -> !requestedClaims.containsKey(c) }.collectEntries([:]) { claim -> computeClaim(claim, null) }
107 }.findAll { map -> map.value != null } << requestedClaims.collectEntries([:]) { claim, requestedValue ->
/forgerock/openam/openam-oauth2/src/test/resources/
H A Doidc-claims-extension.groovy27 * requestedClaims - Map<String, Set<String>>
106 map << scopeClaims.findAll { c -> !requestedClaims.containsKey(c) }.collectEntries([:]) { claim -> computeClaim(claim, null) }
107 }.findAll { map -> map.value != null } << requestedClaims.collectEntries([:]) { claim, requestedValue ->
/forgerock/openam/openam-scripting/src/main/groovy/
H A Doidc-claims-extension.groovy27 * requestedClaims - Map<String, Set<String>>
106 map << scopeClaims.findAll { c -> !requestedClaims.containsKey(c) }.collectEntries([:]) { claim -> computeClaim(claim, null) }
107 }.findAll { map -> map.value != null } << requestedClaims.collectEntries([:]) { claim, requestedValue ->
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openidconnect/restlet/
H A DIdTokenInfo.java205 final String requestedClaims = request.getParameter(OAuth2Constants.Custom.CLAIMS);
207 if (requestedClaims != null) {
209 for (String claimName : requestedClaims.split(",")) {
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DOAuth2ProviderSettings.java382 String validateRequestedClaims(String requestedClaims) throws InvalidRequestException, ServerException; argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DOAuth2ProviderSettings.java446 String validateRequestedClaims(String requestedClaims) throws InvalidRequestException, ServerException; argument
H A DAgentOAuth2ProviderSettings.java297 public String validateRequestedClaims(String requestedClaims) throws InvalidRequestException, ServerException { argument
H A DRealmOAuth2ProviderSettings.java809 public String validateRequestedClaims(String requestedClaims) throws InvalidRequestException, ServerException { argument
815 if (StringUtils.isBlank(requestedClaims)) {
822 JSONObject json = new JSONObject(requestedClaims);
848 return requestedClaims;
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMScopeValidator.java287 final Map<String, Set<String>> requestedClaims = new HashMap<String, Set<String>>();
317 requestedClaims.put(keyName, options);
328 return requestedClaims;
H A DOpenAMOAuth2ProviderSettings.java716 public String validateRequestedClaims(String requestedClaims) throws InvalidRequestException, ServerException { argument
722 if (StringUtils.isBlank(requestedClaims)) {
729 JSONObject json = new JSONObject(requestedClaims);
755 return requestedClaims;
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMScopeValidator.java326 final Map<String, Set<String>> requestedClaims = new HashMap<String, Set<String>>();
356 requestedClaims.put(keyName, options);
367 return requestedClaims;

Completed in 1819 milliseconds