Interface

SessionDetail

SessionDetail

The data passed in the `hanko-session-created` or `hanko-session-resumed` event.
Properties:
Name Type Attributes Description
jwt string <optional>
The JSON web token associated with the session. Only present when the Hanko-API allows the JWT to be accessible client-side.
expirationSeconds number The number of seconds until the JWT expires.

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