Discover Packages
github.com/WeBankPartners/wecube-platform/platform-auth-server
service
remote
api_um
package
Version:
v0.0.0-...-23a18c0
Opens a new window with list of versions in this module.
Published: Jun 17, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type UmAuthResponse struct {
Code int `json:"code"`
Desc string `json:"desc"`
Id string `json:"id"`
Org string `json:"org"`
Dept string `json:"dept"`
AcType int `json:"actype"`
Email string `json:"email"`
UserName string `json:"userName"`
ExpDate string `json:"expDate"`
}
type UmPermissionResp struct {
RetCode int `json:"retCode"`
Id string `json:"id"`
Tok string `json:"tok"`
Auth string `json:"auth"`
ExpTime int `json:"expTime"`
}
type UmRoleItem struct {
RoleCode string `json:"roleCode"`
RoleName string `json:"roleName"`
RoleNameCn string `json:"roleNameCn"`
Org string `json:"org"`
SystemId string `json:"systemId"`
DelFlag string `json:"delFlag"`
}
type UmToken struct {
Token string `json:"tok"`
Auth string `json:"auth"`
ExpTime int64 `json:"expTime"`
}
type UmUserRoleItem struct {
UserId string `json:"userId"`
RoleCode string `json:"roleCode"`
Org string `json:"org"`
ExpireTime string `json:"expireTime,omitempty" `
SystemId string `json:"systemId"`
DelFlag string `json:"delFlag"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.