samlp

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 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       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
}

type ArtifactResponseType

type ArtifactResponseType struct {
	XMLName      xml.Name                `xml:"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       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
	Status       StatusType              `xml:"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         *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature      *xml_dsig.SignatureType `xml:"Signature"`
	Extensions     *ExtensionsType         `xml:"Extensions"`
}

type AttributeQueryType

type AttributeQueryType struct {
	XMLName      xml.Name                `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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    []saml.AttributeType    `xml:"Attribute"`
	Subject      saml.SubjectType        `xml:"Subject"`
	Issuer       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"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 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:"RequestedAuthnContext"`
	Subject               saml.SubjectType           `xml:"Subject"`
	Issuer                *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature             *xml_dsig.SignatureType    `xml:"Signature"`
	Extensions            *ExtensionsType            `xml:"Extensions"`
}

type AuthnRequestType

type AuthnRequestType struct {
	XMLName                        xml.Name                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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                        *saml.SubjectType          `xml:"Subject"`
	NameIDPolicy                   *NameIDPolicyType          `xml:"NameIDPolicy"`
	Conditions                     *saml.ConditionsType       `xml:"Conditions"`
	RequestedAuthnContext          *RequestedAuthnContextType `xml:"RequestedAuthnContext"`
	Scoping                        *ScopingType               `xml:"Scoping"`
	Issuer                         *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature                      *xml_dsig.SignatureType    `xml:"Signature"`
	Extensions                     *ExtensionsType            `xml:"Extensions"`
}

type AuthzDecisionQueryType

type AuthzDecisionQueryType struct {
	XMLName      xml.Name                `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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       []saml.ActionType       `xml:"Action"`
	Evidence     *saml.EvidenceType      `xml:"Evidence"`
	Subject      saml.SubjectType        `xml:"Subject"`
	Issuer       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
}

type ExtensionsType

type ExtensionsType struct {
	XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol Extensions"`
}

type IDPEntryType

type IDPEntryType struct {
	XMLName    xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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 IDPList"`
	IDPEntry    []IDPEntryType `xml:"IDPEntry"`
	GetComplete string         `xml:"GetComplete"`
}

type LogoutRequestType

type LogoutRequestType struct {
	XMLName      xml.Name                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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       *saml.BaseIDAbstractType   `xml:"BaseID"`
	NameID       *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion NameID"`
	EncryptedID  *saml.EncryptedElementType `xml:"EncryptedID"`
	Issuer       *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType    `xml:"Signature"`
	Extensions   *ExtensionsType            `xml:"Extensions"`
}

type LogoutResponseType

type LogoutResponseType struct {
	XMLName      xml.Name                `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
	Status       StatusType              `xml:"Status"`
}

type ManageNameIDRequestType

type ManageNameIDRequestType struct {
	XMLName        xml.Name                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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         *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion NameID"`
	EncryptedID    *saml.EncryptedElementType `xml:"EncryptedID"`
	NewID          string                     `xml:"NewID"`
	NewEncryptedID *saml.EncryptedElementType `xml:"NewEncryptedID"`
	Terminate      *TerminateType             `xml:"Terminate"`
	Issuer         *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature      *xml_dsig.SignatureType    `xml:"Signature"`
	Extensions     *ExtensionsType            `xml:"Extensions"`
}

type NameIDMappingRequestType

type NameIDMappingRequestType struct {
	XMLName      xml.Name                   `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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:"NameIDPolicy"`
	BaseID       *saml.BaseIDAbstractType   `xml:"BaseID"`
	NameID       *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion NameID"`
	EncryptedID  *saml.EncryptedElementType `xml:"EncryptedID"`
	Issuer       *saml.NameIDType           `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType    `xml:"Signature"`
	Extensions   *ExtensionsType            `xml:"Extensions"`
}

type NameIDMappingResponseType

type NameIDMappingResponseType struct {
	XMLName      xml.Name                `xml:"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       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
	Status       StatusType              `xml:"Status"`
}

type NameIDPolicyType

type NameIDPolicyType struct {
	XMLName         xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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 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       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
}

type RequestedAuthnContextType

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

type ResponseType

type ResponseType struct {
	XMLName      xml.Name                `xml:"urn:oasis:names:tc:SAML:2.0:protocol Response"`
	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       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
	Status       StatusType              `xml:"Status"`
	Assertion    saml.AssertionType      `xml:"Assertion"`
}

type ScopingType

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

type StatusCodeType

type StatusCodeType struct {
	XMLName    xml.Name        `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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 StatusDetail"`
}

type StatusResponseType

type StatusResponseType struct {
	XMLName      xml.Name                `xml:"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       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
	Status       StatusType              `xml:"Status"`
}

type StatusType

type StatusType struct {
	XMLName       xml.Name          `xml:"urn:oasis:names:tc:SAML:2.0:protocol Status"`
	StatusCode    StatusCodeType    `xml:"StatusCode"`
	StatusMessage string            `xml:"StatusMessage,omitempty"`
	StatusDetail  *StatusDetailType `xml:"StatusDetail"`
}

type SubjectQueryAbstractType

type SubjectQueryAbstractType struct {
	XMLName      xml.Name                `xml:"urn:oasis:names:tc:SAML:2.0:protocol 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      saml.SubjectType        `xml:"Subject"`
	Issuer       *saml.NameIDType        `xml:"urn:oasis:names:tc:SAML:2.0:assertion Issuer"`
	Signature    *xml_dsig.SignatureType `xml:"Signature"`
	Extensions   *ExtensionsType         `xml:"Extensions"`
}

type TerminateType

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

Jump to

Keyboard shortcuts

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