User Tools

Site Tools


user_class

User class

The user class represents users in an instance and can be used for logging in, and keeping track of users. It is used along with Accesstoken which keeps track on valid access and UserProperty which can easily store information related to a given user.

The only thing special with the User class is the tryLogin function which will check for a user with the given username and password in the database, and if one exist, it will return an Accesstoken which is valid for entering the instance.

See the Instance class for complete login instructions.

user_class.txt · Last modified: 2020/02/12 21:18 by sahl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki