/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/test/java/org/forgerock/oauth2/core/ |
H A D | AuthorizationServiceImplTest.java | 136 boolean saveConsent = false; 144 authorizationService.authorize(request, consentGiven, saveConsent); 156 boolean saveConsent = false; 164 authorizationService.authorize(request, consentGiven, saveConsent); 168 verify(providerSettings, never()).saveConsent(eq(resourceOwner), anyString(), anySetOf(String.class)); 179 boolean saveConsent = true; 187 authorizationService.authorize(request, consentGiven, saveConsent); 191 verify(providerSettings).saveConsent(eq(resourceOwner), anyString(), anySetOf(String.class)); 203 boolean saveConsent = false; 213 authorizationService.authorize(request, consentGiven, saveConsent); [all...] |
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/ |
H A D | AuthorizationService.java | 98 * @param saveConsent {@code true} if the user has requested that their consent be saved for future authorization 121 AuthorizationToken authorize(OAuth2Request request, boolean consentGiven, boolean saveConsent) argument
|
H A D | AuthorizationServiceImpl.java | 193 public AuthorizationToken authorize(OAuth2Request request, boolean consentGiven, boolean saveConsent) argument 218 if (saveConsent) { 219 providerSettings.saveConsent(resourceOwner, clientRegistration.getClientId(), validatedScope);
|
H A D | OAuth2ProviderSettings.java | 167 void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope); method in interface:OAuth2ProviderSettings
|
/forgerock/openam-v13/openam-oauth2-common/oauth2-restlet/src/main/java/org/forgerock/oauth2/restlet/ |
H A D | DeviceCodeVerificationResource.java | 142 final boolean saveConsent = "on".equalsIgnoreCase(request.<String>getParameter("save_consent")); 143 if (saveConsent) { 144 saveConsent(request); 182 private void saveConsent(OAuth2Request request) throws NotFoundException, ServerException, InvalidScopeException, method in class:DeviceCodeVerificationResource 191 providerSettings.saveConsent(resourceOwner, clientRegistration.getClientId(), validatedScope);
|
H A D | AuthorizeResource.java | 153 final boolean saveConsent = "on".equalsIgnoreCase(request.<String>getParameter("save_consent")); 157 saveConsent);
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/restlet/ |
H A D | DeviceCodeVerificationResource.java | 157 final boolean saveConsent = "on".equalsIgnoreCase(request.<String>getParameter("save_consent")); 158 if (saveConsent) { 159 saveConsent(request); 197 private void saveConsent(OAuth2Request request) throws NotFoundException, ServerException, InvalidScopeException, method in class:DeviceCodeVerificationResource 206 providerSettings.saveConsent(resourceOwner, clientRegistration.getClientId(), validatedScope);
|
H A D | AuthorizeResource.java | 168 final boolean saveConsent = "on".equalsIgnoreCase(request.<String>getParameter("save_consent")); 172 saveConsent);
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/ |
H A D | AuthorizationService.java | 256 * @param saveConsent {@code true} if the user has requested that their consent be saved for future authorization 281 public AuthorizationToken authorize(OAuth2Request request, boolean consentGiven, boolean saveConsent) argument 312 if (saveConsent) { 313 providerSettings.saveConsent(resourceOwner, clientRegistration.getClientId(), validatedScope);
|
H A D | OAuth2ProviderSettings.java | 211 void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope); method in interface:OAuth2ProviderSettings
|
H A D | AgentOAuth2ProviderSettings.java | 142 public void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope) { method in class:AgentOAuth2ProviderSettings
|
H A D | RealmOAuth2ProviderSettings.java | 392 public void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope) { method in class:RealmOAuth2ProviderSettings
|
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMOAuth2ProviderSettings.java | 475 public void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope) { method in class:OpenAMOAuth2ProviderSettings
|