Searched defs:oAuth2Request (Results 1 - 10 of 10) sorted by relevance

/forgerock/openam-v13/openam-oauth2-common/openid-connect-restlet/src/test/java/org/forgerock/openidconnect/restlet/
H A DEndSessionTest.java46 private OAuth2Request oAuth2Request; field in class:EndSessionTest
59 oAuth2Request = mock(OAuth2Request.class);
60 when(oAuth2Request.getParameter(OAuth2Constants.Params.END_SESSION_ID_TOKEN_HINT)).thenReturn(idToken);
72 when(requestFactory.create(any(Request.class))).thenReturn(oAuth2Request);
82 when(oAuth2Request.getParameter(OAuth2Constants.Params.POST_LOGOUT_REDIRECT_URI)).thenReturn(requestedUri);
98 when(oAuth2Request.getParameter(OAuth2Constants.Params.POST_LOGOUT_REDIRECT_URI)).thenReturn(requestedUri);
120 when(oAuth2Request.getParameter(OAuth2Constants.Params.POST_LOGOUT_REDIRECT_URI)).thenReturn(requestedUri);
142 when(oAuth2Request.getParameter(OAuth2Constants.Params.POST_LOGOUT_REDIRECT_URI)).thenReturn(requestedUri);
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DClaimGatherer.java34 * @param oAuth2Request The OAuth2 request.
39 String getRequestingPartyId(OAuth2Request oAuth2Request, AccessToken authorizationApiToken, argument
H A DIdTokenClaimGatherer.java77 public String getRequestingPartyId(OAuth2Request oAuth2Request, AccessToken authorizationApiToken, argument
83 OAuth2ProviderSettings oAuth2ProviderSettings = oauth2ProviderSettingsFactory.get(oAuth2Request);
84 OAuth2Uris oAuth2Uris = oAuth2UrisFactory.get(oAuth2Request);
85 byte[] clientSecret = clientRegistrationStore.get(authorizationApiToken.getClientId(), oAuth2Request)
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DClaimGatherer.java34 * @param oAuth2Request The OAuth2 request.
39 String getRequestingPartyId(OAuth2Request oAuth2Request, AccessToken authorizationApiToken, argument
H A DIdTokenClaimGatherer.java77 public String getRequestingPartyId(OAuth2Request oAuth2Request, AccessToken authorizationApiToken, argument
82 oAuth2Request.setToken(OpenIdConnectToken.class, new OpenIdConnectToken(idToken.getClaimsSet()));
84 OAuth2ProviderSettings oAuth2ProviderSettings = oauth2ProviderSettingsFactory.get(oAuth2Request);
85 OAuth2Uris oAuth2Uris = oAuth2UrisFactory.get(oAuth2Request);
86 byte[] clientSecret = clientRegistrationStore.get(authorizationApiToken.getClientId(), oAuth2Request)
H A DUmaUrisFactory.java91 * @param oAuth2Request The request instance from which the base URL can be deduced.
95 public UmaUris get(OAuth2Request oAuth2Request, Realm realm) throws NotFoundException, ServerException { argument
98 HttpServletRequest request = ServletUtils.getRequest(oAuth2Request.<Request>getRequest());
106 OAuth2Uris oAuth2Uris = oAuth2UriFactory.get(oAuth2Request, realm);
/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DIdTokenClaimGathererTest.java75 private OAuth2Request oAuth2Request; field in class:IdTokenClaimGathererTest
92 given(oAuth2ProviderSettingsFactory.get(oAuth2Request)).willReturn(oAuth2ProviderSettings);
101 given(oAuth2UrisFactory.get(oAuth2Request)).willReturn(oAuth2Uris);
110 given(clientRegistrationStore.get("CLIENT_ID", oAuth2Request)).willReturn(clientRegistration);
125 String requestingPartyId = claimGatherer.getRequestingPartyId(oAuth2Request, authorizationApiToken, claimToken);
141 String requestingPartyId = claimGatherer.getRequestingPartyId(oAuth2Request, authorizationApiToken, claimToken);
157 String requestingPartyId = claimGatherer.getRequestingPartyId(oAuth2Request, authorizationApiToken, claimToken);
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOAuth2UrisFactory.java93 public OAuth2Uris get(OAuth2Request oAuth2Request, Realm realm) throws NotFoundException, ServerException { argument
94 HttpServletRequest request = ServletUtils.getRequest(oAuth2Request.<Request>getRequest());
103 return get(realm.asPath(), baseUrl, deploymentUrl, oAuth2ProviderSettingsFactory.get(oAuth2Request));
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/
H A DStatefulTokenStoreTest.java91 private OAuth2Request oAuth2Request; field in class:StatefulTokenStoreTest
112 oAuth2Request = mock(OAuth2Request.class);
354 given(providerSettingsFactory.get(oAuth2Request)).willReturn(settings);
355 given(oAuth2Request.getParameter("realm")).willReturn("/abc");
358 given(utils.getConfirmationKey(oAuth2Request)).willReturn(json(object(field("jwk", object()))));
362 "owner-id", "client-id", "http://a/b.com", singleton("open"), null, "qwerty", "some-claim", oAuth2Request);
372 given(providerSettingsFactory.get(oAuth2Request)).willReturn(settings);
373 given(oAuth2Request.getParameter("realm")).willReturn("/abc");
376 given(utils.getConfirmationKey(oAuth2Request)).willReturn(json(null));
380 "owner-id", "client-id", "http://a/b.com", singleton("open"), null, "qwerty", "some-claim", oAuth2Request);
[all...]
/forgerock/openam/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DIdTokenClaimGathererTest.java74 private OAuth2Request oAuth2Request; field in class:IdTokenClaimGathererTest
91 given(oAuth2ProviderSettingsFactory.get(oAuth2Request)).willReturn(oAuth2ProviderSettings);
100 given(oAuth2UrisFactory.get(oAuth2Request)).willReturn(oAuth2Uris);
109 given(clientRegistrationStore.get("CLIENT_ID", oAuth2Request)).willReturn(clientRegistration);
124 String requestingPartyId = claimGatherer.getRequestingPartyId(oAuth2Request, authorizationApiToken, claimToken);
140 String requestingPartyId = claimGatherer.getRequestingPartyId(oAuth2Request, authorizationApiToken, claimToken);
156 String requestingPartyId = claimGatherer.getRequestingPartyId(oAuth2Request, authorizationApiToken, claimToken);

Completed in 74 milliseconds