From faeec106efec3353ba2db8a3df597d85023d4711 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Mar 2021 11:34:31 +0100 Subject: Add auth user client hook actions --- shared/models/plugins/client-hook.model.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shared/models/plugins') diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index 6c92ef3c6..f8ca32771 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts @@ -94,6 +94,12 @@ export const clientActionHookObject = { // Fired when the "Go Live" page is being initalized 'action:go-live.init': true, + // Fired when the user explicitely logged in/logged out + 'action:auth-user.logged-in': true, + 'action:auth-user.logged-out': true, + // Fired when the application loaded user information (using tokens from the local storage or after a successful login) + 'action:auth-user.information-loaded': true, + // Fired when the modal to download a video/caption is shown 'action:modal.video-download.shown': true, -- cgit v1.2.3