UNPKG

@bitblit/ratchet-warden-common

Version:

Typescript library to simplify using simplewebauthn and secondary auth methods over GraphQL

9 lines (8 loc) 386 B
import { WardenLoggedInUserWrapper } from './warden-logged-in-user-wrapper.js'; export interface WardenUserServiceEventProcessingProvider<T> { onLogout(): void; onSuccessfulLogin(newUser: WardenLoggedInUserWrapper<T>): void; onLoginFailure(reason: string): void; onAutomaticTokenRefresh(refreshUser: WardenLoggedInUserWrapper<T>): void; onAutomaticLogout(): void; }