Skip to content

Commit 87e1ba1

Browse files
committed
Update setRequiresAuthorizationConsent() docs
1 parent cd1ea48 commit 87e1ba1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2AuthorizationCodeRequestAuthenticationProvider.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,10 @@ public void setAuthenticationValidator(Consumer<OAuth2AuthorizationCodeRequestAu
279279
*
280280
* <p>
281281
* The {@link OAuth2AuthorizationCodeRequestAuthenticationContext} gives the predicate access to the {@link OAuth2AuthorizationCodeRequestAuthenticationToken},
282-
* as well as, the following context attribute:
282+
* as well as, the following context attributes:
283283
* {@link OAuth2AuthorizationCodeRequestAuthenticationContext#getRegisteredClient()} containing {@link RegisteredClient} used to make the request.
284+
* {@link OAuth2AuthorizationCodeRequestAuthenticationContext#getOAuth2AuthorizationRequest()} containing {@link OAuth2AuthorizationRequest}.
285+
* {@link OAuth2AuthorizationCodeRequestAuthenticationContext#getOAuth2AuthorizationConsent()} containing {@link OAuth2AuthorizationConsent} granted in the request.
284286
*
285287
* @param requiresAuthorizationConsent the {@link Predicate} that determines if authorization consent is required.
286288
* @since 1.3.0

0 commit comments

Comments
 (0)