Interface

SessionDetail

SessionDetail

The data passed in the `hanko-session-created` or `hanko-session-resumed` event.
Properties:
Name Type Description
expirationSeconds number This property is deprecated. The number of seconds until the JWT expires.
claims Claims The JSON web token associated with the session. Only present when the Hanko-API allows the JWT to be accessible client-side.

View Source lib/events/CustomEvents.ts, line 62