mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
feat(cloudid): add azure saml
This commit is contained in:
@@ -24,6 +24,7 @@ type SClouduserCreateConfig struct {
|
||||
Email string
|
||||
MobilePhone string
|
||||
ExternalPolicyIds []string
|
||||
UserType string
|
||||
}
|
||||
|
||||
type SCloudpolicyPermission struct {
|
||||
|
||||
@@ -1072,6 +1072,9 @@ type IClouduser interface {
|
||||
GetGlobalId() string
|
||||
GetName() string
|
||||
|
||||
GetEmailAddr() string
|
||||
GetInviteUrl() string
|
||||
|
||||
GetICloudgroups() ([]ICloudgroup, error)
|
||||
|
||||
GetISystemCloudpolicies() ([]ICloudpolicy, error)
|
||||
|
||||
@@ -23,6 +23,7 @@ const (
|
||||
SAML_ENTITY_ID_QCLOUD = "cloud.tencent.com"
|
||||
SAML_ENTITY_ID_HUAWEI_CLOUD = "https://auth.huaweicloud.com/"
|
||||
SAML_ENTITY_ID_GOOGLE = "google.com"
|
||||
SAML_ENTITY_ID_AZURE = "urn:federation:MicrosoftOnline"
|
||||
)
|
||||
|
||||
type SAMLProviderCreateOptions struct {
|
||||
|
||||
Reference in New Issue
Block a user