Class

Relay

Relay(options)

A class that dispatches events and scheduled events, based on other events.
Constructor

# new Relay(options)

Parameters:
Name Type Description
options RelayOptions The options that can be used

View Source lib/events/Relay.ts, line 15

Extends

Classes

Relay

Methods

# dispatchSessionCreatedEvent(detail)

Dispatches a "hanko-session-created" event to the document with the specified detail.
Parameters:
Name Type Description
detail SessionDetail The event detail.
Overrides:

View Source lib/events/Dispatcher.ts, line 33

# dispatchSessionExpiredEvent()

Dispatches a "hanko-session-expired" event to the document.
Overrides:

View Source lib/events/Dispatcher.ts, line 39

# dispatchUserDeletedEvent()

Dispatches a "hanko-user-deleted" event to the document.
Overrides:

View Source lib/events/Dispatcher.ts, line 51

# dispatchUserLoggedOutEvent()

Dispatches a "hanko-user-logged-out" event to the document.
Overrides:

View Source lib/events/Dispatcher.ts, line 45