You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The field CreatedAt is automatically generated on server side and can't be edited. It's contains a timestamp of user creation.
User registering
At first new user can be registered by register form (via REST call POST /users/register. New user registration can be disabled by administrator.
After registration user must activate account by link in email. After activation user is approved to login.
After login to Web-UI user can manage your profile or owned devices (create, update, delete).
User login
User login via login form in Web-UI (via rest call POST /auth issue #3). User must fill valid login and password to sucessfully login.
At backend server generates a token for user. One token = One session. User can be logged in more sessions (more tokens) instead of device. Device has only one session by one token.
User logout
User can logout by logout button in webui (via rest call DELETE /auth issue #3). At backend token has revoked (removed) and by this operation user was logged out.
Account activation
Before first login user must activate their account. If user not activated their account in 24 hours, then account was deleted. See issue #10
Users
Users has following fields:
The field
CreatedAt
is automatically generated on server side and can't be edited. It's contains a timestamp of user creation.User registering
At first new user can be registered by register form (via REST call
POST /users/register
. New user registration can be disabled by administrator.After registration user must activate account by link in email. After activation user is approved to login.
After login to Web-UI user can manage your profile or owned devices (create, update, delete).
User login
User login via login form in Web-UI (via rest call
POST /auth
issue #3). User must fill valid login and password to sucessfully login.At backend server generates a token for user. One token = One session. User can be logged in more sessions (more tokens) instead of device. Device has only one session by one token.
User logout
User can logout by logout button in webui (via rest call
DELETE /auth
issue #3). At backend token has revoked (removed) and by this operation user was logged out.Account activation
Before first login user must activate their account. If user not activated their account in 24 hours, then account was deleted. See issue #10
Authentication
Authentication is specified in issue #4
User roles
Service knowns 2 types of user roles:
Admin can all operations in service. Member can manage owned devices, sensors, measure statistics and manage profile.
Profile management
User can manage your profile - Change password, change e-mail or name.
Related: #2 #4
Following:
Source:
The text was updated successfully, but these errors were encountered: