@axa-fr/oidc-client
Version:
OpenID Connect & OAuth authentication using native javascript only, compatible with angular, react, vue, svelte, next, etc.
31 lines (30 loc) • 1.56 kB
text/typescript
export const eventNames = {
service_worker_not_supported_by_browser: 'service_worker_not_supported_by_browser',
token_acquired: 'token_acquired',
logout_from_another_tab: 'logout_from_another_tab',
logout_from_same_tab: 'logout_from_same_tab',
token_renewed: 'token_renewed',
token_timer: 'token_timer',
loginAsync_begin: 'loginAsync_begin',
loginAsync_error: 'loginAsync_error',
loginCallbackAsync_begin: 'loginCallbackAsync_begin',
loginCallbackAsync_end: 'loginCallbackAsync_end',
loginCallbackAsync_error: 'loginCallbackAsync_error',
refreshTokensAsync_begin: 'refreshTokensAsync_begin',
refreshTokensAsync: 'refreshTokensAsync',
refreshTokensAsync_end: 'refreshTokensAsync_end',
refreshTokensAsync_error: 'refreshTokensAsync_error',
refreshTokensAsync_silent_error: 'refreshTokensAsync_silent_error',
tryKeepExistingSessionAsync_begin: 'tryKeepExistingSessionAsync_begin',
tryKeepExistingSessionAsync_end: 'tryKeepExistingSessionAsync_end',
tryKeepExistingSessionAsync_error: 'tryKeepExistingSessionAsync_error',
silentLoginAsync_begin: 'silentLoginAsync_begin',
silentLoginAsync: 'silentLoginAsync',
silentLoginAsync_end: 'silentLoginAsync_end',
silentLoginAsync_error: 'silentLoginAsync_error',
syncTokensAsync_begin: 'syncTokensAsync_begin',
syncTokensAsync_lock_not_available: 'syncTokensAsync_lock_not_available',
syncTokensAsync_end: 'syncTokensAsync_end',
syncTokensAsync_error: 'syncTokensAsync_error',
tokensInvalidAndWaitingActionsToRefresh: 'tokensInvalidAndWaitingActionsToRefresh',
};