feat: improve SAML XML's xmlns to fix SAML support for some clouds (#3207)

This commit is contained in:
千石 2024-09-16 08:01:28 +08:00 committed by GitHub
parent 2c3749820e
commit 8df965b98d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,17 +188,17 @@ type NameIDFormat struct {
}
type SingleSignOnService struct {
XMLName xml.Name
// XMLName xml.Name
Binding string `xml:"Binding,attr"`
Location string `xml:"Location,attr"`
}
type Attribute struct {
// XMLName xml.Name
Xmlns string `xml:"xmlns,attr"`
Name string `xml:"Name,attr"`
NameFormat string `xml:"NameFormat,attr"`
FriendlyName string `xml:"FriendlyName,attr"`
Xmlns string `xml:"xmlns,attr"`
Values []string `xml:"AttributeValue"`
}