oriuserauth

0.0.9 • Public • Published

#Install

  • origamicore Doc #Config

      {
              context: 'default',
              requirePhone: false,
              confirmEmail: true,
              confirmPhone: false,
              linkToSmsAuth: true,
              linkToOauth: true,
              superadmin: {
                  username: '{admiuser}',
                  password: '{admin}'
              },
              emailNotifyContext: 'gmail',
              emailNotifyTemplate: 'login',
              forgetPasswordTemplate: 'forgetEmail',
              notifyContext: 'sms',
              notifyTemplate: 'confirmeSms',
              twoStepEmail: false,
              twoStepSms: true,
              isActive: true
      }
    

#External Services

http://localhost:4702/userAuth/isLogin
http://localhost:4702/userAuth/logout
http://localhost:4702/userAuth/login?username=vahid&password=1212
http://localhost:4702/userAuth/verify?code=12333
http://localhost:4702/userAuth/forgetPassword?name=vahid.hossaini@gmail.com
http://localhost:4702/userAuth/resetPassword?code=111&password=1213
http://localhost:4702/userAuth/changePassword?oldPassword=1213&newPassword=1212
http://localhost:4702/userAuth/twoStep?code=1499
For Register Post 
http://localhost:4702/userAuth/register
{"userData":{"username":"{yourusername}","password":"{your password}","email":"{email}","phone":"{your phone}"}}

http://localhost:4702/userAuth/save
{"userData":{"username":"{yourusername}","password":"{your password}","email":"{email}","phone":"{your phone}"}}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i oriuserauth

      Weekly Downloads

      0

      Version

      0.0.9

      License

      MIT

      Unpacked Size

      18.6 kB

      Total Files

      8

      Last publish

      Collaborators

      • vahidhossaini