WebContainerDelegate
@authgear/web / WebContainerDelegate
Interface: WebContainerDelegate
Table of contents
Properties
Properties
onSessionStateChange
• onSessionStateChange: (container
: WebContainer
, reason
: SessionStateChangeReason
) => void
Type declaration
▸ (container
, reason
): void
This callback will be called when the session state is changed.
For example, when the user logs out, the new state is "NO_SESSION" and the reason is "LOGOUT".
Parameters
Name | Type |
---|---|
container | WebContainer |
reason | SessionStateChangeReason |
Returns
void
Defined in
packages/authgear-web/index.d.ts:729