Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

change to correct NameID policy #1

Merged
merged 1 commit into from
Sep 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ func (n NameIDFormat) Element() *etree.Element {
}

// Name ID formats
// See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
const (
UnspecifiedNameIDFormat NameIDFormat = "urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified"
UnspecifiedNameIDFormat NameIDFormat = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
TransientNameIDFormat NameIDFormat = "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
EmailAddressNameIDFormat NameIDFormat = "urn:oasis:names:tc:SAML:2.0:nameid-format:emailAddress"
EmailAddressNameIDFormat NameIDFormat = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
)

// ServiceProvider implements SAML Service provider.
Expand Down