expiresIn

fun expiresIn(duration: Duration)(source)

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

Parameters

duration

the duration from now until the token expires