Skip to content

Commit

Permalink
Sonar: setClaims is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed May 25, 2024
1 parent 8526fa5 commit bbe8513
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class AuthenticationSteps {
.builder()
.subject("authentication")
.signWith(CucumberAuthenticationConfiguration.JWT_KEY)
.setClaims(claims)
.claims(claims)
.expiration(Date.from(Instant.now().plusSeconds(300)))
.compact();
}
Expand Down

0 comments on commit bbe8513

Please sign in to comment.