expiresIn

Sets the expiration time (exp) claim relative to the current time.

Return

this builder for chaining

Parameters

duration

the duration from now until the token expires