How to create login page with unity

0 votes
asked May 9, 2015 in App42 Cloud API-BaaS by suryaekoindrawan (16 points)

1 Answer

+1 vote
 
Best answer

Hello, 

 
Login screen will require login email and password text field which you can easily create after looking at the documentation forGUI.textField and GUI.passwordField. Once you are ready with screen, pass user name and password to App 42 User Management service to authenticate the user.
 
To get started with App42 Unity SDK, please have a look at this link and let us know if you required any help or support from our side.

Thanks,

Himanshu Sharma

answered May 10, 2015 by hs00105 (2,005 points)
selected May 10, 2015 by suryaekoindrawan
tq to answer my question but how to get session id to logout?
After authenticated the user, you will get the user object from which you can easily retrieve the session id of user. Please find a below link for the code snippet and let me know if it helps.
http://api.shephertz.com/app42-docs/user-management-service/#authenticate

Thanks,
Himanshu Sharma
hi, how I can disable login ui panel after successfuly loged in. I was trying to use new UnityCallback, but it's not monobehaviur and I can't get any access after user authenticated.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...