User Overview

Introduction

User Management模块是为EdgeGallery项目提供用户管理的基本能力,包括用户注册/登录/权限认证等功能。为AppStore/开发者平台/MECM/ATP提供统一的用户鉴权和认证服务。

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.

  • 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会给登录成功的用户签发AccessToken,用于后台API接口的访问,token默认超时时间12小时,token携带以下数据:

    • userId: Register the user ID

    • 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 >