@authgear/capacitor / CapacitorContainerDelegate
Interface: CapacitorContainerDelegate
Table of contents
Properties
Properties
onSessionStateChange
• onSessionStateChange: (container
: CapacitorContainer
, reason
: SessionStateChangeReason
) => 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".
Type declaration
▸ (container
, reason
): void
Parameters
Name | Type |
---|---|
container | CapacitorContainer |
reason | SessionStateChangeReason |
Returns
void
Defined in
packages/authgear-capacitor/index.d.ts:833