1
0
mirror of synced 2026-05-22 21:33:16 +00:00

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