mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
增加用户身份认证相关接口
This commit is contained in:
18
pkg/userconfigs/user_identity_constants.go
Normal file
18
pkg/userconfigs/user_identity_constants.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package userconfigs
|
||||
|
||||
type UserIdentityStatus = string
|
||||
|
||||
const (
|
||||
UserIdentityStatusNone UserIdentityStatus = "none"
|
||||
UserIdentityStatusSubmitted UserIdentityStatus = "submitted"
|
||||
UserIdentityStatusRejected UserIdentityStatus = "rejected"
|
||||
UserIdentityStatusVerified UserIdentityStatus = "verified"
|
||||
)
|
||||
|
||||
type UserIdentityType = string
|
||||
|
||||
const (
|
||||
UserIdentityTypeIDCard UserIdentityType = "idCard"
|
||||
)
|
||||
Reference in New Issue
Block a user