saml2p

package
v0.0.0-...-bf18145 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactResolveType

type ArtifactResolveType struct {
	XMLName      xml.Name                 `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:ArtifactResolve"`
	Id           string                   `xml:"ID,attr"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Artifact     string                   `xml:"Artifact"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
}

type ArtifactResponseType

type ArtifactResponseType struct {
	XMLName      xml.Name                 `xml:"saml2p:ArtifactResponse"`
	Id           string                   `xml:"ID,attr"`
	InResponseTo string                   `xml:"InResponseTo,attr,omitempty"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
	Status       StatusType               `xml:"saml2p:Status"`
}

type AssertionIDRequestType

type AssertionIDRequestType struct {
	XMLName        xml.Name                 `xml:"urn:oasis:names:tc:SAML:2.0:protocol AssertionIDRequest"`
	Id             string                   `xml:"ID,attr"`
	Version        string                   `xml:"Version,attr"`
	IssueInstant   string                   `xml:"IssueInstant,attr"`
	Destination    string                   `xml:"Destination,attr,omitempty"`
	Consent        string                   `xml:"Consent,attr,omitempty"`
	AssertionIDRef []string                 `xml:"AssertionIDRef"`
	Issuer         *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature      *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions     *ExtensionsType          `xml:"saml2p:Extensions"`
}

type AttributeQueryType

type AttributeQueryType struct {
	XMLName      xml.Name                 `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:AttributeQuery"`
	Id           string                   `xml:"ID,attr"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Attribute    []saml2.AttributeType    `xml:"Attribute"`
	Subject      saml2.SubjectType        `xml:"saml2:Subject"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
}

type AuthnContextComparisonType

type AuthnContextComparisonType string
const AuthnContextComparisonTypeBetter AuthnContextComparisonType = "better"
const AuthnContextComparisonTypeExact AuthnContextComparisonType = "exact"
const AuthnContextComparisonTypeMaximum AuthnContextComparisonType = "maximum"
const AuthnContextComparisonTypeMinimum AuthnContextComparisonType = "minimum"

type AuthnQueryType

type AuthnQueryType struct {
	XMLName               xml.Name                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:AuthnQuery"`
	SessionIndex          string                     `xml:"SessionIndex,attr,omitempty"`
	Id                    string                     `xml:"ID,attr"`
	Version               string                     `xml:"Version,attr"`
	IssueInstant          string                     `xml:"IssueInstant,attr"`
	Destination           string                     `xml:"Destination,attr,omitempty"`
	Consent               string                     `xml:"Consent,attr,omitempty"`
	RequestedAuthnContext *RequestedAuthnContextType `xml:"saml2p:RequestedAuthnContext"`
	Subject               saml2.SubjectType          `xml:"saml2:Subject"`
	Issuer                *saml2.NameIDType          `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature             *xml2_dsig.SignatureType   `xml:"ds:Signature"`
	Extensions            *ExtensionsType            `xml:"saml2p:Extensions"`
}

type AuthnRequestType

type AuthnRequestType struct {
	XMLName                        xml.Name                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:AuthnRequest"`
	ForceAuthn                     string                     `xml:"ForceAuthn,attr,omitempty"`
	IsPassive                      string                     `xml:"IsPassive,attr,omitempty"`
	ProtocolBinding                string                     `xml:"ProtocolBinding,attr,omitempty"`
	AssertionConsumerServiceIndex  string                     `xml:"AssertionConsumerServiceIndex,attr,omitempty"`
	AssertionConsumerServiceURL    string                     `xml:"AssertionConsumerServiceURL,attr,omitempty"`
	AttributeConsumingServiceIndex string                     `xml:"AttributeConsumingServiceIndex,attr,omitempty"`
	ProviderName                   string                     `xml:"ProviderName,attr,omitempty"`
	Id                             string                     `xml:"ID,attr"`
	Version                        string                     `xml:"Version,attr"`
	IssueInstant                   string                     `xml:"IssueInstant,attr"`
	Destination                    string                     `xml:"Destination,attr,omitempty"`
	Consent                        string                     `xml:"Consent,attr,omitempty"`
	Subject                        *saml2.SubjectType         `xml:"saml2:Subject"`
	NameIDPolicy                   *NameIDPolicyType          `xml:"saml2p:NameIDPolicy"`
	Conditions                     *saml2.ConditionsType      `xml:"saml2:Conditions"`
	RequestedAuthnContext          *RequestedAuthnContextType `xml:"saml2p:RequestedAuthnContext"`
	Scoping                        *ScopingType               `xml:"saml2p:Scoping"`
	Issuer                         *saml2.NameIDType          `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature                      *xml2_dsig.SignatureType   `xml:"ds:Signature"`
	Extensions                     *ExtensionsType            `xml:"saml2p:Extensions"`
}

type AuthzDecisionQueryType

type AuthzDecisionQueryType struct {
	XMLName      xml.Name                 `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:AuthzDecisionQuery"`
	Resource     string                   `xml:"Resource,attr"`
	Id           string                   `xml:"ID,attr"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Action       []saml2.ActionType       `xml:"saml2:Action"`
	Evidence     *saml2.EvidenceType      `xml:"saml2:Evidence"`
	Subject      saml2.SubjectType        `xml:"saml2:Subject"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
}

type ExtensionsType

type ExtensionsType struct {
	XMLName xml.Name `xml:"saml2p:Extensions"`
}

type IDPEntryType

type IDPEntryType struct {
	XMLName    xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:IDPEntry"`
	ProviderID string   `xml:"ProviderID,attr"`
	Name       string   `xml:"Name,attr,omitempty"`
	Loc        string   `xml:"Loc,attr,omitempty"`
}

type IDPListType

type IDPListType struct {
	XMLName     xml.Name       `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:IDPList"`
	IDPEntry    []IDPEntryType `xml:"saml2p:IDPEntry"`
	GetComplete string         `xml:"GetComplete"`
}

type LogoutRequestType

type LogoutRequestType struct {
	XMLName      xml.Name                    `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:LogoutRequest"`
	Reason       string                      `xml:"Reason,attr,omitempty"`
	NotOnOrAfter string                      `xml:"NotOnOrAfter,attr,omitempty"`
	Id           string                      `xml:"ID,attr"`
	Version      string                      `xml:"Version,attr"`
	IssueInstant string                      `xml:"IssueInstant,attr"`
	Destination  string                      `xml:"Destination,attr,omitempty"`
	Consent      string                      `xml:"Consent,attr,omitempty"`
	SessionIndex []string                    `xml:"SessionIndex"`
	BaseID       *saml2.BaseIDAbstractType   `xml:"BaseID"`
	NameID       *saml2.NameIDType           `xml:"saml2:NameID"`
	EncryptedID  *saml2.EncryptedElementType `xml:"EncryptedID"`
	Issuer       *saml2.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType    `xml:"ds:Signature"`
	Extensions   *ExtensionsType             `xml:"saml2p:Extensions"`
}

type LogoutResponseType

type LogoutResponseType struct {
	XMLName      xml.Name                 `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:LogoutResponse"`
	Id           string                   `xml:"ID,attr"`
	InResponseTo string                   `xml:"InResponseTo,attr,omitempty"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
	Status       StatusType               `xml:"saml2p:Status"`
}

type ManageNameIDRequestType

type ManageNameIDRequestType struct {
	XMLName        xml.Name                    `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:ManageNameIDRequest"`
	Id             string                      `xml:"ID,attr"`
	Version        string                      `xml:"Version,attr"`
	IssueInstant   string                      `xml:"IssueInstant,attr"`
	Destination    string                      `xml:"Destination,attr,omitempty"`
	Consent        string                      `xml:"Consent,attr,omitempty"`
	NameID         *saml2.NameIDType           `xml:"saml2:NameID"`
	EncryptedID    *saml2.EncryptedElementType `xml:"EncryptedID"`
	NewID          string                      `xml:"NewID"`
	NewEncryptedID *saml2.EncryptedElementType `xml:"NewEncryptedID"`
	Terminate      *TerminateType              `xml:"saml2p:Terminate"`
	Issuer         *saml2.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature      *xml2_dsig.SignatureType    `xml:"ds:Signature"`
	Extensions     *ExtensionsType             `xml:"saml2p:Extensions"`
}

type NameIDMappingRequestType

type NameIDMappingRequestType struct {
	XMLName      xml.Name                    `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:NameIDMappingRequest"`
	Id           string                      `xml:"ID,attr"`
	Version      string                      `xml:"Version,attr"`
	IssueInstant string                      `xml:"IssueInstant,attr"`
	Destination  string                      `xml:"Destination,attr,omitempty"`
	Consent      string                      `xml:"Consent,attr,omitempty"`
	NameIDPolicy NameIDPolicyType            `xml:"saml2p:NameIDPolicy"`
	BaseID       *saml2.BaseIDAbstractType   `xml:"BaseID"`
	NameID       *saml2.NameIDType           `xml:"saml2:NameID"`
	EncryptedID  *saml2.EncryptedElementType `xml:"EncryptedID"`
	Issuer       *saml2.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType    `xml:"ds:Signature"`
	Extensions   *ExtensionsType             `xml:"saml2p:Extensions"`
}

type NameIDMappingResponseType

type NameIDMappingResponseType struct {
	XMLName      xml.Name                 `xml:"saml2p:NameIDMappingResponse"`
	Id           string                   `xml:"ID,attr"`
	InResponseTo string                   `xml:"InResponseTo,attr,omitempty"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
	Status       StatusType               `xml:"saml2p:Status"`
}

type NameIDPolicyType

type NameIDPolicyType struct {
	XMLName         xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:NameIDPolicy"`
	Format          string   `xml:"Format,attr,omitempty"`
	SPNameQualifier string   `xml:"SPNameQualifier,attr,omitempty"`
	AllowCreate     bool     `xml:"AllowCreate,attr,omitempty"`
}

type RequestAbstractType

type RequestAbstractType struct {
	XMLName      xml.Name                 `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:RequestAbstract"`
	Id           string                   `xml:"ID,attr"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
}

type RequestedAuthnContextType

type RequestedAuthnContextType struct {
	XMLName              xml.Name                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:RequestedAuthnContext"`
	Comparison           AuthnContextComparisonType `xml:"Comparison,attr,omitempty"`
	AuthnContextClassRef []string                   `xml:"AuthnContextClassRef"`
	AuthnContextDeclRef  []string                   `xml:"AuthnContextDeclRef"`
}

type ResponseType

type ResponseType struct {
	XMLName      xml.Name                 `xml:"saml2p:Response"`
	Saml2p       string                   `xml:"xmlns:saml2p,attr"`
	Id           string                   `xml:"ID,attr"`
	InResponseTo string                   `xml:"InResponseTo,attr,omitempty"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Issuer       *saml2.NameIDType        `xml:"saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
	Status       StatusType               `xml:"saml2p:Status"`
	Assertion    saml2.AssertionType      `xml:"saml2:Assertion"`
}

type ScopingType

type ScopingType struct {
	XMLName     xml.Name     `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:Scoping"`
	ProxyCount  int          `xml:"ProxyCount,attr,omitempty"`
	IDPList     *IDPListType `xml:"saml2p:IDPList"`
	RequesterID []string     `xml:"RequesterID"`
}

type StatusCodeType

type StatusCodeType struct {
	XMLName    xml.Name        `xml:"saml2p:StatusCode"`
	Value      string          `xml:"Value,attr"`
	StatusCode *StatusCodeType `xml:",any"`
}

type StatusDetailType

type StatusDetailType struct {
	XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:StatusDetail"`
}

type StatusResponseType

type StatusResponseType struct {
	XMLName      xml.Name                 `xml:"saml2p:StatusResponse"`
	Id           string                   `xml:"ID,attr"`
	InResponseTo string                   `xml:"InResponseTo,attr,omitempty"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
	Status       StatusType               `xml:"saml2p:Status"`
}

type StatusType

type StatusType struct {
	XMLName       xml.Name          `xml:"saml2p:Status"`
	Saml2p        string            `xml:"xmlns:saml2p,attr"`
	StatusCode    StatusCodeType    `xml:"saml2p:StatusCode"`
	StatusMessage string            `xml:"StatusMessage,omitempty"`
	StatusDetail  *StatusDetailType `xml:"saml2p:StatusDetail"`
}

type SubjectQueryAbstractType

type SubjectQueryAbstractType struct {
	XMLName      xml.Name                 `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:SubjectQueryAbstract"`
	Id           string                   `xml:"ID,attr"`
	Version      string                   `xml:"Version,attr"`
	IssueInstant string                   `xml:"IssueInstant,attr"`
	Destination  string                   `xml:"Destination,attr,omitempty"`
	Consent      string                   `xml:"Consent,attr,omitempty"`
	Subject      saml2.SubjectType        `xml:"saml2:Subject"`
	Issuer       *saml2.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion saml2:Issuer"`
	Signature    *xml2_dsig.SignatureType `xml:"ds:Signature"`
	Extensions   *ExtensionsType          `xml:"saml2p:Extensions"`
}

type TerminateType

type TerminateType struct {
	XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol saml2p:Terminate"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL