@inrupt/solid-client-authn-core / 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: undefined | 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: src/sessionInfo/ISessionInfo.ts:42


expirationDate

Optional expirationDate: undefined | number

UNIX timestamp (number of milliseconds since Jan 1st 1970) representing the time until which this session is valid.

Defined in: src/sessionInfo/ISessionInfo.ts:53


isLoggedIn

isLoggedIn: boolean

‘true’ if the session is currently logged into an associated identity provider.

Defined in: src/sessionInfo/ISessionInfo.ts:31


sessionId

sessionId: string

A unique identifier for the session.

Defined in: src/sessionInfo/ISessionInfo.ts:47


webId

Optional webId: undefined | string

The WebID if the user is logged into the session, and undefined if not.

Defined in: src/sessionInfo/ISessionInfo.ts:36