Documentation
¶
Index ¶
- type ActionType
- type AdviceType
- type AssertionType
- type AttributeStatementType
- type AttributeType
- type AudienceRestrictionType
- type AuthnContextType
- type AuthnStatementType
- type AuthzDecisionStatementType
- type BaseIDAbstractType
- type ConditionAbstractType
- type ConditionsType
- type DecisionType
- type EncryptedElementType
- type EvidenceType
- type KeyInfoConfirmationDataType
- type NameIDType
- type OneTimeUseType
- type ProxyRestrictionType
- type StatementAbstractType
- type SubjectConfirmationDataType
- type SubjectConfirmationType
- type SubjectLocalityType
- type SubjectType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type AdviceType ¶
type AdviceType struct { XMLName xml.Name `xml:"saml2:Advice"` AssertionIDRef []string `xml:"AssertionIDRef"` AssertionURIRef []string `xml:"AssertionURIRef"` Assertion []AssertionType `xml:"saml2:Assertion"` EncryptedAssertion []EncryptedElementType `xml:"EncryptedAssertion"` }
type AssertionType ¶
type AssertionType struct { XMLName xml.Name `xml:"saml2:Assertion"` Saml2 string `xml:"xmlns:saml2,attr"` Version string `xml:"Version,attr"` Id string `xml:"ID,attr"` IssueInstant string `xml:"IssueInstant,attr"` Issuer NameIDType `xml:"saml2:Issuer"` Signature *xml2_dsig.SignatureType `xml:"ds:Signature"` Subject *SubjectType `xml:"saml2:Subject"` Conditions *ConditionsType `xml:"saml2:Conditions"` Advice *AdviceType `xml:"saml2:Advice"` Statement []StatementAbstractType `xml:"saml2:Statement"` AuthnStatement []AuthnStatementType `xml:"saml2:AuthnStatement"` AuthzDecisionStatement []AuthzDecisionStatementType `xml:"saml2:AuthzDecisionStatement"` AttributeStatement []AttributeStatementType `xml:"saml2:AttributeStatement"` }
type AttributeStatementType ¶
type AttributeStatementType struct { XMLName xml.Name `xml:"saml2:AttributeStatement"` Attribute []*AttributeType `xml:"saml2:Attribute"` }
type AttributeType ¶
type AudienceRestrictionType ¶
type AuthnContextType ¶
type AuthnContextType struct { XMLName xml.Name `xml:"saml2:AuthnContext"` AuthenticatingAuthority []string `xml:"saml2:AuthenticatingAuthority"` AuthnContextClassRef string `xml:"saml2:AuthnContextClassRef,omitempty"` AuthnContextDecl string `xml:"saml2:AuthnContextDecl,omitempty"` AuthnContextDeclRef string `xml:"saml2:AuthnContextDeclRef,omitempty"` }
type AuthnStatementType ¶
type AuthnStatementType struct { XMLName xml.Name `xml:"saml2:AuthnStatement"` AuthnInstant string `xml:"AuthnInstant,attr"` SessionIndex string `xml:"SessionIndex,attr,omitempty"` SessionNotOnOrAfter string `xml:"SessionNotOnOrAfter,attr,omitempty"` SubjectLocality *SubjectLocalityType `xml:"saml2:SubjectLocality"` AuthnContext AuthnContextType `xml:"saml2:AuthnContext"` }
type AuthzDecisionStatementType ¶
type AuthzDecisionStatementType struct { XMLName xml.Name `xml:"saml2:AuthzDecisionStatement"` Resource string `xml:"Resource,attr"` Decision DecisionType `xml:"Decision,attr"` Action []ActionType `xml:"saml2:Action"` Evidence *EvidenceType `xml:"saml2:Evidence"` }
type BaseIDAbstractType ¶
type ConditionAbstractType ¶
type ConditionsType ¶
type ConditionsType struct { XMLName xml.Name `xml:"saml2:Conditions"` NotBefore string `xml:"NotBefore,attr,omitempty"` NotOnOrAfter string `xml:"NotOnOrAfter,attr,omitempty"` Condition []ConditionAbstractType `xml:"Condition"` AudienceRestriction []AudienceRestrictionType `xml:"saml2:AudienceRestriction"` OneTimeUse []OneTimeUseType `xml:"saml2:OneTimeUse"` ProxyRestriction []ProxyRestrictionType `xml:"saml2:ProxyRestriction"` }
type DecisionType ¶
type DecisionType string
const DecisionTypeDeny DecisionType = "Deny"
const DecisionTypeIndeterminate DecisionType = "Indeterminate"
const DecisionTypePermit DecisionType = "Permit"
type EncryptedElementType ¶
type EncryptedElementType struct { XMLName xml.Name EncryptedData xenc.EncryptedDataType `xml:"EncryptedData"` EncryptedKey []xenc.EncryptedKeyType `xml:"EncryptedKey"` }
type EvidenceType ¶
type EvidenceType struct { XMLName xml.Name `xml:"saml2:Evidence"` AssertionIDRef []string `xml:"saml2:AssertionIDRef"` AssertionURIRef []string `xml:"saml2:AssertionURIRef"` Assertion []AssertionType `xml:"saml2:Assertion"` EncryptedAssertion []EncryptedElementType `xml:"saml2:EncryptedAssertion"` }
type KeyInfoConfirmationDataType ¶
type KeyInfoConfirmationDataType struct { XMLName xml.Name `xml:"saml2:KeyInfoConfirmationData"` NotBefore string `xml:"NotBefore,attr,omitempty"` NotOnOrAfter string `xml:"NotOnOrAfter,attr,omitempty"` Recipient string `xml:"Recipient,attr,omitempty"` InResponseTo string `xml:"InResponseTo,attr,omitempty"` Address string `xml:"Address,attr,omitempty"` }
type NameIDType ¶
type NameIDType struct { XMLName xml.Name Saml2 string `xml:"xmlns:saml2,attr"` Format string `xml:"Format,attr,omitempty"` SPProvidedID string `xml:"SPProvidedID,attr,omitempty"` NameQualifier string `xml:"NameQualifier,attr,omitempty"` SPNameQualifier string `xml:"SPNameQualifier,attr,omitempty"` Text string `xml:",chardata"` }
type OneTimeUseType ¶
type ProxyRestrictionType ¶
type StatementAbstractType ¶
type SubjectConfirmationDataType ¶
type SubjectConfirmationDataType struct { XMLName xml.Name `xml:"saml2:SubjectConfirmationData"` NotBefore string `xml:"NotBefore,attr,omitempty"` NotOnOrAfter string `xml:"NotOnOrAfter,attr,omitempty"` Recipient string `xml:"Recipient,attr,omitempty"` InResponseTo string `xml:"InResponseTo,attr,omitempty"` Address string `xml:"Address,attr,omitempty"` }
type SubjectConfirmationType ¶
type SubjectConfirmationType struct { XMLName xml.Name `xml:"saml2:SubjectConfirmation"` Method string `xml:"Method,attr"` SubjectConfirmationData *SubjectConfirmationDataType `xml:"saml2:SubjectConfirmationData"` BaseID *BaseIDAbstractType `xml:"BaseID"` NameID *NameIDType `xml:"saml2:NameID"` EncryptedID *EncryptedElementType `xml:"EncryptedID"` }
type SubjectLocalityType ¶
type SubjectType ¶
type SubjectType struct { XMLName xml.Name `xml:"saml2:Subject"` BaseID *BaseIDAbstractType `xml:"BaseID"` NameID *NameIDType `xml:"saml2:NameID"` EncryptedID *EncryptedElementType `xml:"saml2:EncryptedID"` SubjectConfirmation []SubjectConfirmationType `xml:"saml2:SubjectConfirmation"` }
Click to show internal directories.
Click to hide internal directories.