Files
EdgeCommon/pkg/userconfigs/user_identity_constants.go

33 lines
826 B
Go
Raw Normal View History

2024-07-27 13:29:26 +08:00
// Copyright 2022 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cloud .
2022-07-17 10:59:55 +08:00
package userconfigs
2022-07-24 09:56:34 +08:00
// 认证状态
2022-07-17 10:59:55 +08:00
type UserIdentityStatus = string
const (
UserIdentityStatusNone UserIdentityStatus = "none"
UserIdentityStatusSubmitted UserIdentityStatus = "submitted"
UserIdentityStatusRejected UserIdentityStatus = "rejected"
UserIdentityStatusVerified UserIdentityStatus = "verified"
)
2022-07-24 09:56:34 +08:00
// 认证类型
2022-07-17 10:59:55 +08:00
type UserIdentityType = string
const (
2022-07-24 09:56:34 +08:00
UserIdentityTypeIDCard UserIdentityType = "idCard"
UserIdentityTypeEnterpriseLicense UserIdentityType = "enterpriseLicense"
)
// 组织类型
type UserIdentityOrgType = string
const (
UserIdentityOrgTypeEnterprise UserIdentityOrgType = "enterprise"
UserIdentityOrgTypeIndividual UserIdentityOrgType = "individual"
2022-07-17 10:59:55 +08:00
)