Optional
pinia: null | PiniaOptional
hot: StoreGenericAn (reactive) ISessionInfo object.
Optional
clientOptional
expirationOptional
web(Reactive) whether the session is logged-in or not
The Session object. Reactivity is lost. Useful mainly for its functions (e.g. fetch()
)
Readonly
events: { on: { (eventName: "login", listener: () => void): ISessionEventListener; (eventName: "logout", listener: () => void): ISessionEventListener; (eventName: "sessionExpired", listener: () => void): ISessionEventListener; (eventName: "sessionRestore", listener: (currentUrl: string) => unknown): ISessionEventListener; (...Optional
inputOptions: string | IHandleIncomingRedirectOptionsReadonly
info: { isLoggedIn: boolean; webId?: string | undefined; clientAppId?: string | undefined; sessionId: string; expirationDate?: number | undefined; }Optional
options: ILogoutOptions(Reactive) The webid of the current user
Handles the redirect after log-in in the IDP.
Roughly resmbles the session.handleIncomingRedirect()
call, but with explicit parameters.
Optional
redirectUrl: stringThe redirectUrl that this function call resembles. It can be undefined.
Optional
restorePreviousSession: booleanWhether to restore the previous sesison or not
Session info if the function is invoked while the actual callback; or undefined
Perform log-in
IDP for performing log-in
The (absolute URL of) place to redirect to (to handle callback)
Optional
clientName: stringThe name of the application that request the log-in
Generated using TypeDoc
A Pinia store for storing Solid log-in sessions. It uses
@inrupt/solid-client-authn-browser
internally, and the user should manage the authentication flow (e.g. callback). It exposes session-related variables as states, and actions for session mangement.