mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Jwt.Builder#notBefore Value Is Instant
Fixes gh-7442
This commit is contained in:
parent
1176d0cfdb
commit
40901fe072
@ -234,7 +234,7 @@ public class Jwt extends AbstractOAuth2Token implements JwtClaimAccessor {
|
||||
* @return the {@link Builder} for further configurations
|
||||
*/
|
||||
public Builder notBefore(Instant notBefore) {
|
||||
this.claim(NBF, notBefore.getEpochSecond());
|
||||
this.claim(NBF, notBefore);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user