Interface: UserAPI
-
EventEmitter‹UserInfoEvent›
↳ UserAPI
• logoutUrl: string | undefined
Optional. When specified, this URL will be invoked when the user logs out. This is useful to reduce the number of lingering sessions for solutions that have their own sessions server in addition to IMS.
▸ emit <K>(type
: K, event?
: UserInfoEvent[K]): void
Inherited from void
Invoke all handlers for the given type.
Type parameters:
▪ K: keyof UserInfoEvent
Parameters:
Name | Type | Description |
---|---|---|
type | K | The event type to invoke. |
event? | UserInfoEvent[K] | Any value passed to each handler - object is recommended, and powerful. |
Returns: void