Returns a claim builder which sets the "exp" field to an expiration time.
Returns a claim builder which sets the "exp" field to an expiration time.
If duration
is less than one second, it will be treated as 0.
Valid duration of a JWT. Minimum resolution is one second.
Returns a claim builder which sets the "iss" field to a specified string.
Returns a claim builder which sets the "iss" field to a specified string.
Issuer of a JWT.
Returns a claim builder which sets the "sub" field.
Returns a claim builder which sets the "sub" field.
Extracts the subject from an input.
Implicitly converts a claim builder function into a JwtClaimBuilder.
Companion object of JwtClaimBuilder.