User Overview

Introduction

The User Management module provides the basic capabilities of user management for the EdgeGallery project, including user registration/login/authority authentication.Provide unified user authentication and certification services for the AppStore/Developer Platform/MECM/ATP/Lab.

Deployment Relationship

The User-mgmt module consists primarily of four modules:

  • Portal: Provide an interface operation for login/logout

  • Auth-server: Provide JWT service for token generation for API interface access

  • User-mgmt: provides user account number management, including the ability to acquire/modify user information, password recovery, etc.

  • SMS: Provision of Short Message Service

  • Mail: Provides a mailbox service

Relationship between User-mgmt and other modules

User-mgmt is a user management module for EdgeGallery:

  • Users first login to the EdgeGallery platform through User Management

  • User Management will issue AccessToken for the successful login of the user for the background API interface, the token default timeout is 1 hour, the token carries the following data:

    • userId: Register the user ID

    • enableSms: Whether to open a short message service

    • enableMail: Whether to open mailbox service

    • ssoSessionId: global SessionId, user single sign-on

    • userName: username

For detailed implementation of single sign-on, please refer to the section < Feature Design-Single sign-on >