From ab67224948bc09c38f225b56e6233e2e15bcfeb4 Mon Sep 17 00:00:00 2001 From: Suresh Krishnan Date: Wed, 26 Aug 2020 20:30:06 +0530 Subject: [PATCH] Extract Format field to know NameID format in Subject of SAML response. --- types/response.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types/response.go b/types/response.go index 2a54c46..88e2f8e 100644 --- a/types/response.go +++ b/types/response.go @@ -109,6 +109,7 @@ type AuthnContextClassRef struct { type NameID struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion NameID"` + Format string `xml:"Format,attr"` Value string `xml:",chardata"` }