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:"urn:oasis:names:tc:SAML:2.0:assertion Advice"` AssertionIDRef []string `xml:"AssertionIDRef"` AssertionURIRef []string `xml:"AssertionURIRef"` Assertion []AssertionType `xml:"Assertion"` EncryptedAssertion []EncryptedElementType `xml:"urn:oasis:names:tc:SAML:2.0:assertion EncryptedAssertion"` }
type AssertionType ¶
type AssertionType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion Assertion"` Version string `xml:"Version,attr"` Id string `xml:"ID,attr"` IssueInstant string `xml:"IssueInstant,attr"` Issuer NameIDType `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"` Signature *xml_dsig.SignatureType `xml:"Signature"` Subject *SubjectType `xml:"Subject"` Conditions *ConditionsType `xml:"Conditions"` Advice *AdviceType `xml:"Advice"` Statement []StatementAbstractType `xml:"urn:oasis:names:tc:SAML:2.0:assertion Statement"` AuthnStatement []AuthnStatementType `xml:"AuthnStatement"` AuthzDecisionStatement []AuthzDecisionStatementType `xml:"AuthzDecisionStatement"` AttributeStatement []AttributeStatementType `xml:"AttributeStatement"` }
type AttributeStatementType ¶
type AttributeStatementType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion AttributeStatement"` Attribute []*AttributeType `xml:"Attribute"` }
type AttributeType ¶
type AudienceRestrictionType ¶
type AuthnContextType ¶
type AuthnContextType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthnContext"` AuthenticatingAuthority []string `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthenticatingAuthority"` AuthnContextClassRef string `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthnContextClassRef,omitempty"` AuthnContextDecl string `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthnContextDecl,omitempty"` AuthnContextDeclRef string `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthnContextDeclRef,omitempty"` }
type AuthnStatementType ¶
type AuthnStatementType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthnStatement"` AuthnInstant string `xml:"AuthnInstant,attr"` SessionIndex string `xml:"SessionIndex,attr,omitempty"` SessionNotOnOrAfter string `xml:"SessionNotOnOrAfter,attr,omitempty"` SubjectLocality *SubjectLocalityType `xml:"SubjectLocality"` AuthnContext AuthnContextType `xml:"AuthnContext"` }
type AuthzDecisionStatementType ¶
type AuthzDecisionStatementType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion AuthzDecisionStatement"` Resource string `xml:"Resource,attr"` Decision DecisionType `xml:"Decision,attr"` Action []ActionType `xml:"Action"` Evidence *EvidenceType `xml:"Evidence"` }
type BaseIDAbstractType ¶
type ConditionAbstractType ¶
type ConditionsType ¶
type ConditionsType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion Conditions"` NotBefore string `xml:"NotBefore,attr,omitempty"` NotOnOrAfter string `xml:"NotOnOrAfter,attr,omitempty"` Condition []ConditionAbstractType `xml:"urn:oasis:names:tc:SAML:2.0:assertion Condition"` AudienceRestriction []AudienceRestrictionType `xml:"AudienceRestriction"` OneTimeUse []OneTimeUseType `xml:"OneTimeUse"` ProxyRestriction []ProxyRestrictionType `xml:"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:"urn:oasis:names:tc:SAML:2.0:assertion Evidence"` AssertionIDRef []string `xml:"AssertionIDRef"` AssertionURIRef []string `xml:"AssertionURIRef"` Assertion []AssertionType `xml:"Assertion"` EncryptedAssertion []EncryptedElementType `xml:"urn:oasis:names:tc:SAML:2.0:assertion EncryptedAssertion"` }
type KeyInfoConfirmationDataType ¶
type KeyInfoConfirmationDataType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion 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 OneTimeUseType ¶
type ProxyRestrictionType ¶
type StatementAbstractType ¶
type SubjectConfirmationDataType ¶
type SubjectConfirmationDataType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion 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:"urn:oasis:names:tc:SAML:2.0:assertion SubjectConfirmation"` Method string `xml:"Method,attr"` SubjectConfirmationData *SubjectConfirmationDataType `xml:"SubjectConfirmationData"` BaseID *BaseIDAbstractType `xml:"BaseID"` NameID *NameIDType `xml:"urn:oasis:names:tc:SAML:2.0:assertion NameID"` EncryptedID *EncryptedElementType `xml:"urn:oasis:names:tc:SAML:2.0:assertion EncryptedID"` }
type SubjectLocalityType ¶
type SubjectType ¶
type SubjectType struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion Subject"` BaseID *BaseIDAbstractType `xml:"BaseID"` NameID *NameIDType `xml:"urn:oasis:names:tc:SAML:2.0:assertion NameID"` EncryptedID *EncryptedElementType `xml:"urn:oasis:names:tc:SAML:2.0:assertion EncryptedID"` SubjectConfirmation []SubjectConfirmationType `xml:"SubjectConfirmation"` }
Click to show internal directories.
Click to hide internal directories.