/** * Defines the functionality of an authentication/authorization provider */ export interface AuthProvider { /** * The function that does the login */ login: () => void; /** * The function called when the provider did the login */ onLogin: (success?: Function) => void; /** * The function that does the logout */ logout: () => void; /** * Retrieves the user data */ getUser: () => Promise; /** * The function that sets up the authorization header */ authorize: () => Promise | undefined>; } //# sourceMappingURL=interfaces.d.ts.map