File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,11 +59,13 @@ type Subject struct {
5959}
6060
6161type AuthnContext struct {
62+ XMLName xml.Name `xml:urn:oasis:names:tc:SAML:2.0:assertion AuthnContext"`
6263 AuthnContextClassRef * AuthnContextClassRef `xml:"AuthnContextClassRef"`
6364}
6465
6566type AuthnContextClassRef struct {
66- Value string `xml:",chardata"`
67+ XMLName xml.Name `xml:urn:oasis:names:tc:SAML:2.0:assertion AuthnContextClassRef"`
68+ Value string `xml:",chardata"`
6769}
6870
6971type NameID struct {
@@ -133,7 +135,7 @@ type AttributeValue struct {
133135}
134136
135137type AuthnStatement struct {
136- XMLName xml.Name `xml:"AuthnStatement"`
138+ XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthnStatement"`
137139 AuthnInstant * time.Time `xml:"AuthnInstant,attr,omitempty"`
138140 SessionNotOnOrAfter * time.Time `xml:"SessionNotOnOrAfter,attr,omitempty"`
139141 AuthnContext * AuthnContext `xml:"AuthnContext"`
You can’t perform that action at this time.
0 commit comments