JwtTokenBuilder.ValidFor method
Sets the lifetime (validity period) of the JWT token.
public JwtTokenBuilder ValidFor(TimeSpan ttl)
parameter | description |
---|---|
ttl | The time span for which the token is valid. |
Return Value
The current JwtTokenBuilder
instance.
See Also
- class JwtTokenBuilder
- namespace Kestrun.Jwt