- Preparing search index...
- The search index is not available
matrix-js-sdk
Type alias HttpApiEventHandlerMap
Http
Api
Event
Handler
Map
: { Session.logged_out
: ((err
: MatrixError) => void); no_consent
: ((message
: string, consentUri
: string) => void); }
Type declaration
-
Session.logged_out: ((err: MatrixError) => void)
-
no_consent: ((message: string, consentUri: string) => void)
-
- (message: string, consentUri: string): void
-
Parameters
-
message: string
-
consentUri: string
Returns void
Fires whenever the login session the JS SDK is using is no longer valid and the user must log in again. NB. This only fires when action is required from the user, not when then login session can be renewed by using a refresh token.
Example