expiresIn

fun expiresIn(duration: Duration)

Set the expiry as a duration after issuedAt, whenever that ends up being set.

Resolved at build time, so calling this before or after issuedAt gives the same answer. An explicit validUntil wins: a caller who states the instant means the instant.