Skip to content

Commit

Permalink
add method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asha15 committed Jul 5, 2023
1 parent 48eecb9 commit ac3dd3e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2267,6 +2267,12 @@ private String validatePKCEParameters(OAuthMessage oAuthMessage, OAuth2ClientVal
return null;
}

/* Check if PKCE is mandatory for the application.
*
* @param oAuthMessage OAuthMessage
* @param validationResponse client validation response.
* @return boolean Returns whether PKCE is mandatory or not.
*/
private boolean isPKCEMandatory(OAuthMessage oAuthMessage,
OAuth2ClientValidationResponseDTO validationResponse) {
return validationResponse.isPkceMandatory() && !(Boolean.FALSE.equals
Expand Down

0 comments on commit ac3dd3e

Please sign in to comment.