Jwt.Builder#notBefore Value Is Instant

Fixes gh-7442
This commit is contained in:
Josh Cummings 2019-09-16 08:58:25 -06:00
parent 1176d0cfdb
commit 40901fe072
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}