File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -222,18 +222,10 @@ export class JWTClaimsBuilder {
222222 this . #payload. aud = value
223223 }
224224
225- get jti ( ) : string | undefined {
226- return this . #payload. jti
227- }
228-
229225 set jti ( value : string ) {
230226 this . #payload. jti = value
231227 }
232228
233- get nbf ( ) : number | undefined {
234- return this . #payload. nbf
235- }
236-
237229 set nbf ( value : number | string | Date ) {
238230 if ( typeof value === 'number' ) {
239231 this . #payload. nbf = validateInput ( 'setNotBefore' , value )
@@ -244,10 +236,6 @@ export class JWTClaimsBuilder {
244236 }
245237 }
246238
247- get exp ( ) : number | undefined {
248- return this . #payload. exp
249- }
250-
251239 set exp ( value : number | string | Date ) {
252240 if ( typeof value === 'number' ) {
253241 this . #payload. exp = validateInput ( 'setExpirationTime' , value )
@@ -258,10 +246,6 @@ export class JWTClaimsBuilder {
258246 }
259247 }
260248
261- get iat ( ) : number | undefined {
262- return this . #payload. iat
263- }
264-
265249 set iat ( value : number | string | Date | undefined ) {
266250 if ( typeof value === 'undefined' ) {
267251 this . #payload. iat = epoch ( new Date ( ) )
You can’t perform that action at this time.
0 commit comments