Skip to main content

CapacitorContainerDelegate

@authgear/capacitor / CapacitorContainerDelegate

Interface: CapacitorContainerDelegate

Table of contents

Properties

Properties

onSessionStateChange

onSessionStateChange: (container: CapacitorContainer, 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
NameType
containerCapacitorContainer
reasonSessionStateChangeReason
Returns

void

Defined in

packages/authgear-capacitor/index.d.ts:697