mcenter

command module
v0.0.0-...-2c311f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 1 Imported by: 0

README

用户中心(IDAS: ID As Service)

  • 认证

    • 登录: 换取身份令牌(Token)
      • UserPassword: 基于用户名密码来获取身份令牌
      • LDAP: 中心化的用户认证系统
      • 企业办公(Feishu/Dingding/企业微信)
  • 鉴权

技术

开发2套接口:

  • RESTful接口: 用于Web
    • Go Restful: 专门用于开发Restful API, K8s的API Server 就是用这个框架开发
  • 内部接口: GRPC, 用户认证中间件
    • GRPC 相关开发
  • 数据存储:
    • MongoDB(自己更换成MySQL)

protobuf 版本管理

protobuf 文件是放到 公共代码仓库: mcube, 下载mcube到本地, 对应的protobuf定义 copy过来

找到mcube文件(go module)

go get github.com/infraboard/mcube@v1.9.7
ls /e/Golang/pkg/mod/github.com/infraboard/mcube\@v1.9.7/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL