@inrupt/solid-client-authn-node / ISessionInfo
Interface: ISessionInfo#
Defines the data that should be persisted for each session. This interface is exposed as part of our public API.
Properties#
clientAppId#
• Optional
clientAppId: string
The WebID of the app, or a “Public app” WebID if the app does not provide its own. undefined until the session is logged in and the app WebID has been verified.
Defined in#
packages/core/dist/sessionInfo/ISessionInfo.d.ts:19
expirationDate#
• Optional
expirationDate: number
UNIX timestamp (number of milliseconds since Jan 1st 1970) representing the time until which this session is valid.
Defined in#
packages/core/dist/sessionInfo/ISessionInfo.d.ts:28
isLoggedIn#
• isLoggedIn: boolean
‘true’ if the session is currently logged into an associated identity provider.
Defined in#
packages/core/dist/sessionInfo/ISessionInfo.d.ts:10
sessionId#
• sessionId: string
A unique identifier for the session.
Defined in#
packages/core/dist/sessionInfo/ISessionInfo.d.ts:23
webId#
• Optional
webId: string
The WebID if the user is logged into the session, and undefined if not.
Defined in#
packages/core/dist/sessionInfo/ISessionInfo.d.ts:14