Interface: SessionService<UserSession>
Interface for handling user sessions.
Type Parameters
• UserSession = CoreUserSession
The type of the user session.
Properties
getUserSession()
getUserSession: (credentialsRequired, vrameworkRequest) => Promise<undefined | UserSession>;
Retrieves the user session.
Parameters
• credentialsRequired: boolean
A flag indicating whether credentials are required.
• vrameworkRequest: VrameworkRequest
<any
>
The request object.
Returns
Promise
<undefined
| UserSession
>
A promise that resolves to the user session or undefined.