Documentation ¶
Index ¶
- type CommonDescriptor
- type ContactPerson
- type EntityDescriptor
- type IDPDescriptor
- func (id IDPDescriptor) CacheDuration() int
- func (id IDPDescriptor) ID() string
- func (desc IDPDescriptor) MakeXMLNode(doc types.Document) (types.Node, error)
- func (id IDPDescriptor) Name() string
- func (id IDPDescriptor) ProtocolSupportEnumerations() []string
- func (desc IDPDescriptor) SingleLogoutServices() []saml.Endpoint
- func (id IDPDescriptor) ValidUntil() time.Time
- type KeyDescriptor
- type Metadata
- type RoleDescriptor
- type SPDescriptor
- type SSODescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonDescriptor ¶
type ContactPerson ¶
type ContactPerson struct { Type string Company string GivenName string SurName string EmailAddress string TelephoneNumber string }
func (ContactPerson) MakeXMLNode ¶
type EntityDescriptor ¶
type IDPDescriptor ¶
type IDPDescriptor struct { RoleDescriptor SSODescriptor ContactPerson *ContactPerson KeyDescriptor *KeyDescriptor // WantAuthnRequestsSigned is an optional attribute that indicates a // requirement for the <samlp:AuthnRequest> messages received by this // identity provider to be signed. If omitted, the value is assumed to // be false. WantAuthnRequestsSigned bool // SignleSingOnService holds one or more elements of type EndpointType // that describe endpoints that support the profiles of the Authentication // Request protocol defined in [SAMLProf]. All identity providers support // at least one such endpoint, by definition. The ResponseLocation attribute // MUST be omitted. SingleSignOnService []saml.Endpoint // NameIDMappingService holds zero or more elements of type EndpointType // that describe endpoints that support the Name Identifier Mapping profile // defined in [SAMLProf]. The ResponseLocation attribute MUST be omitted NameIDMappingService []saml.Endpoint // AssertionIDRequestService holds zero or more elements of type EndpointType // that describe endpoints that support the profile of the Assertion Request // protocol defined in [SAMLProf] or the special URI binding for assertion // requests defined in [SAMLBind]. AssertionIDRequestService []saml.Endpoint // AttributeProfile holds zero or more elements of type anyURI that enumerate // the attribute profiles supported by this identity provider. See [SAMLProf] // for some possible values for this element. AttributeProfile []string // Attribute holds zero or more elements that identify the SAML attributes // supported by the identity provider. Specific values MAY optionally be // included, indicating that only certain values permitted by the attribute's // definition are supported. In this context, "support" for an attribute // means that the identity provider has the capability to include it when // delivering assertions during single sign-on. Attribute []saml.Attribute }
func (IDPDescriptor) CacheDuration ¶
func (id IDPDescriptor) CacheDuration() int
func (IDPDescriptor) ID ¶
func (id IDPDescriptor) ID() string
func (IDPDescriptor) MakeXMLNode ¶
func (IDPDescriptor) Name ¶
func (id IDPDescriptor) Name() string
func (IDPDescriptor) ProtocolSupportEnumerations ¶
func (id IDPDescriptor) ProtocolSupportEnumerations() []string
func (IDPDescriptor) SingleLogoutServices ¶
func (desc IDPDescriptor) SingleLogoutServices() []saml.Endpoint
func (IDPDescriptor) ValidUntil ¶
func (id IDPDescriptor) ValidUntil() time.Time
type KeyDescriptor ¶
type KeyDescriptor struct { Use string Key saml.MakeXMLNoder }
func (KeyDescriptor) MakeXMLNode ¶
type Metadata ¶
type Metadata struct {
EntityDescriptors []EntityDescriptor
}
type RoleDescriptor ¶
type RoleDescriptor struct { CommonDescriptor ErrorURL string ProtocolSupportEnumerations []string }
type SPDescriptor ¶
type SPDescriptor struct { CommonDescriptor Service saml.AssertionConsumerService }
type SSODescriptor ¶
Click to show internal directories.
Click to hide internal directories.