Jwt.Builder#notBefore Value Is Instant
Fixes gh-7442
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user