@brightlayer-ui/react-auth-workflow
Version:
Re-usable workflow components for Authentication and Registration within Eaton applications.
9 lines (8 loc) • 398 B
JavaScript
export const ProjectAuthUIActions = () => ({
initiateSecurity: () => Promise.resolve(),
logIn: (email, password, rememberMe) => Promise.resolve(),
forgotPassword: (email) => Promise.resolve(),
verifyResetCode: (code, email) => Promise.resolve(),
setPassword: (code, password, email) => Promise.resolve(),
changePassword: (oldPassword, newPassword) => Promise.resolve(),
});