Skip to content

Commit

Permalink
Fixed javadoc.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomáš Kraus <tomas.kraus@oracle.com>
  • Loading branch information
Tomas-Kraus committed Aug 22, 2023
1 parent 8ee566f commit cf32b78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java
Original file line number Diff line number Diff line change
Expand Up @@ -959,8 +959,7 @@ public Errors validate(String issuer, String audience) {
* issuer claim mandatory
* @param audience validates that this JWT was issued for this audience. Setting this to non-null value will make
* audience claim mandatory
* @param checkAudience whether audience claim check is turned on. Validation will fail when {@code true}
* and audience claim is null
* @param checkAudience whether audience claim validation should be executed
* @return errors instance to check for validation result
*/
public Errors validate(String issuer, String audience, boolean checkAudience) {
Expand All @@ -982,8 +981,7 @@ public Errors validate(String issuer, String audience, boolean checkAudience) {
* issuer claim mandatory
* @param audience validates that this JWT was issued for this audience. Setting this to non-null value and with
* any non-null value in the Set will make audience claim mandatory
* @param checkAudience whether audience claim check is configured as mandatory. Validation will fail when {@code true}
* and audience claim is null
* @param checkAudience whether audience claim validation should be executed
* @return errors instance to check for validation result
*/
public Errors validate(String issuer, Set<String> audience, boolean checkAudience) {
Expand Down

0 comments on commit cf32b78

Please sign in to comment.