Documentation
¶
Index ¶
- func NewID() string
- type ArtifactResolutionService
- type ArtifactResolve
- type ArtifactResolveBody
- type ArtifactResolveEnvelope
- type ArtifactResponse
- type ArtifactResponseBody
- type ArtifactResponseEnvelope
- type Assertion
- type AssertionConsumerService
- type Attribute
- type AttributeAuthorityDescriptor
- type AttributeQuery
- type AttributeQueryBody
- type AttributeQueryEnv
- type AttributeRespBody
- type AttributeRespEnv
- type AttributeService
- type AttributeStatement
- type AttributeValue
- type AudienceRestriction
- type AuthnContext
- type AuthnRequest
- type AuthnStatement
- type Conditions
- type ECPRequestAuthenticated
- type ECPResponse
- type ECPResponseBody
- type ECPResponseEnvelope
- type ECPResponseHeader
- type EntityDescriptor
- type IDPEntityDescriptor
- type IDPSSODescriptor
- type Issuer
- type KeyDescriptor
- type NameID
- type RequestAbstractType
- type Response
- type SOAPFault
- type SOAPFaultBody
- type SOAPFaultEnvelope
- type SPEntityDescriptor
- type SPSSODescriptor
- type Service
- type SingleSignOnService
- type Status
- type StatusCode
- type StatusResponseType
- type Subject
- type SubjectConfirmation
- type SubjectConfirmationData
- type SubjectLocality
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArtifactResolve ¶
type ArtifactResolveBody ¶
type ArtifactResolveBody struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"` ArtifactResolve ArtifactResolve }
type ArtifactResolveEnvelope ¶
type ArtifactResolveEnvelope struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Body ArtifactResolveBody }
type ArtifactResponse ¶
type ArtifactResponse struct { StatusResponseType XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol ArtifactResponse"` Response Response }
type ArtifactResponseBody ¶
type ArtifactResponseBody struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"` ArtifactResponse ArtifactResponse }
type ArtifactResponseEnvelope ¶
type ArtifactResponseEnvelope struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Body ArtifactResponseBody }
type Assertion ¶
type Assertion struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion Assertion"` ID string `xml:",attr"` Version string `xml:",attr"` IssueInstant time.Time `xml:",attr"` Issuer *Issuer Signature *xmlsig.Signature Subject *Subject Conditions *Conditions AuthnStatement *AuthnStatement AttributeStatement *AttributeStatement RawXML string `xml:"-"` }
type AttributeAuthorityDescriptor ¶
type AttributeAuthorityDescriptor struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:metadata AttributeAuthorityDescriptor"` ProtocolSupportEnumeration string `xml:"protocolSupportEnumeration,attr"` KeyDescriptor KeyDescriptor AttributeService AttributeService NameIDFormat string `xml:"NameIDFormat"` }
type AttributeQuery ¶ added in v0.4.0
type AttributeQueryBody ¶ added in v0.4.0
type AttributeQueryBody struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"` Query AttributeQuery }
type AttributeQueryEnv ¶ added in v0.4.0
type AttributeQueryEnv struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Body AttributeQueryBody }
type AttributeRespBody ¶ added in v0.4.0
type AttributeRespEnv ¶ added in v0.4.0
type AttributeRespEnv struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Body AttributeRespBody }
type AttributeService ¶
type AttributeStatement ¶
type AttributeValue ¶
type AudienceRestriction ¶
type AuthnContext ¶
type AuthnRequest ¶
type AuthnStatement ¶
type AuthnStatement struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthnStatement"` AuthnInstant time.Time `xml:",attr"` SessionIndex string `xml:",attr"` SubjectLocality *SubjectLocality AuthnContext *AuthnContext }
type Conditions ¶
type ECPRequestAuthenticated ¶ added in v0.8.0
type ECPResponse ¶ added in v0.8.0
type ECPResponse struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp Response"` Actor string `xml:"http://schemas.xmlsoap.org/soap/envelope/ actor,attr"` MustUnderstand int `xml:"http://schemas.xmlsoap.org/soap/envelope/ mustUnderstand,attr"` AssertionConsumerServiceURL string `xml:",attr"` }
type ECPResponseBody ¶ added in v0.8.0
type ECPResponseEnvelope ¶ added in v0.8.0
type ECPResponseEnvelope struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Header ECPResponseHeader Body ECPResponseBody }
type ECPResponseHeader ¶ added in v0.8.0
type ECPResponseHeader struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Header"` ECPResponse ECPResponse ECPRequestAuthenticated ECPRequestAuthenticated }
type EntityDescriptor ¶
type IDPEntityDescriptor ¶
type IDPEntityDescriptor struct { EntityDescriptor IDPSSODescriptor IDPSSODescriptor AttributeAuthorityDescriptor AttributeAuthorityDescriptor }
type IDPSSODescriptor ¶
type IDPSSODescriptor struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:metadata IDPSSODescriptor"` ProtocolSupportEnumeration string `xml:"protocolSupportEnumeration,attr"` WantAuthnRequestsSigned bool `xml:",attr"` KeyDescriptor KeyDescriptor ArtifactResolutionService ArtifactResolutionService NameIDFormat string `xml:"NameIDFormat"` SingleSignOnService []SingleSignOnService }
type Issuer ¶
type KeyDescriptor ¶
type RequestAbstractType ¶
type Response ¶
type Response struct { StatusResponseType XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol Response"` RawAssertion string `xml:",innerxml"` Assertion *Assertion }
type SOAPFaultBody ¶ added in v0.8.0
type SOAPFaultEnvelope ¶ added in v0.8.0
type SOAPFaultEnvelope struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Body SOAPFaultBody }
type SPEntityDescriptor ¶
type SPEntityDescriptor struct { EntityDescriptor SPSSODescriptor SPSSODescriptor }
type SPSSODescriptor ¶
type SPSSODescriptor struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:metadata SPSSODescriptor"` AuthnRequestsSigned bool `xml:",attr"` WantAssertionsSigned bool `xml:",attr"` ProtocolSupportEnumeration string `xml:"protocolSupportEnumeration,attr"` AssertionConsumerService []AssertionConsumerService KeyDescriptor KeyDescriptor }
type SingleSignOnService ¶
type Status ¶
type Status struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol Status"` StatusCode StatusCode }
type StatusCode ¶
type StatusResponseType ¶
type Subject ¶
type Subject struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion Subject"` NameID *NameID SubjectConfirmation *SubjectConfirmation }
type SubjectConfirmation ¶
type SubjectConfirmation struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion SubjectConfirmation"` Method string `xml:",attr"` SubjectConfirmationData *SubjectConfirmationData }
type SubjectConfirmationData ¶
Click to show internal directories.
Click to hide internal directories.