0.0.9 • Published 4 years ago

oriuserauth v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

#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}"}}

 
	
0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago