Documentation ¶
Index ¶
- Variables
- type SAMLBindingHTTPPostParseRequestResult
- type SAMLBindingHTTPPostParseResponseResult
- type SAMLBindingHTTPPostWriter
- type SAMLBindingHTTPRedirectParseRequestResult
- type SAMLBindingHTTPRedirectParseResponseResult
- type SAMLBindingHTTPRedirectWriter
- type SAMLBindingParseReqeustResult
- type SAMLBindingParseResponseResult
- type SAMLRedirectBindingSigner
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( wire.Struct(new(SAMLBindingHTTPPostWriter), "*"), wire.Struct(new(SAMLBindingHTTPRedirectWriter), "*"), )
View Source
var ErrNoRequest = &samlprotocol.ParseRequestFailedError{
Reason: "no SAMLRequest provided",
}
View Source
var ErrNoResponse = &samlprotocol.ParseRequestFailedError{
Reason: "no SAMLResponse provided",
}
Functions ¶
This section is empty.
Types ¶
type SAMLBindingHTTPPostParseRequestResult ¶
func SAMLBindingHTTPPostParseRequest ¶
func SAMLBindingHTTPPostParseRequest(r *http.Request) ( result *SAMLBindingHTTPPostParseRequestResult, err error, )
type SAMLBindingHTTPPostParseResponseResult ¶
func SAMLBindingHTTPPostParseResponse ¶
func SAMLBindingHTTPPostParseResponse(r *http.Request) ( result *SAMLBindingHTTPPostParseResponseResult, err error, )
type SAMLBindingHTTPPostWriter ¶
type SAMLBindingHTTPPostWriter struct{}
func (*SAMLBindingHTTPPostWriter) WriteRequest ¶
func (*SAMLBindingHTTPPostWriter) WriteRequest( rw http.ResponseWriter, r *http.Request, callbackURL string, requestEl *etree.Element, relayState string) error
func (*SAMLBindingHTTPPostWriter) WriteResponse ¶
func (*SAMLBindingHTTPPostWriter) WriteResponse( rw http.ResponseWriter, r *http.Request, callbackURL string, responseEl *etree.Element, relayState string) error
type SAMLBindingHTTPRedirectParseRequestResult ¶
type SAMLBindingHTTPRedirectParseRequestResult struct { SAMLRequest string SAMLRequestXML string RelayState string SigAlg string Signature string }
func SAMLBindingHTTPRedirectParseRequest ¶
func SAMLBindingHTTPRedirectParseRequest(r *http.Request) ( result *SAMLBindingHTTPRedirectParseRequestResult, err error, )
type SAMLBindingHTTPRedirectParseResponseResult ¶
type SAMLBindingHTTPRedirectParseResponseResult struct { SAMLResponse string SAMLResponseXML string RelayState string SigAlg string Signature string }
func SAMLBindingHTTPRedirectParseResponse ¶
func SAMLBindingHTTPRedirectParseResponse(r *http.Request) ( result *SAMLBindingHTTPRedirectParseResponseResult, err error, )
type SAMLBindingHTTPRedirectWriter ¶
type SAMLBindingHTTPRedirectWriter struct {
Signer SAMLRedirectBindingSigner
}
func (*SAMLBindingHTTPRedirectWriter) WriteRequest ¶
func (s *SAMLBindingHTTPRedirectWriter) WriteRequest( rw http.ResponseWriter, r *http.Request, callbackURL string, requestEl *etree.Element, relayState string) error
func (*SAMLBindingHTTPRedirectWriter) WriteResponse ¶
func (s *SAMLBindingHTTPRedirectWriter) WriteResponse( rw http.ResponseWriter, r *http.Request, callbackURL string, responseEl *etree.Element, relayState string) error
type SAMLBindingParseReqeustResult ¶
type SAMLBindingParseReqeustResult interface {
// contains filtered or unexported methods
}
type SAMLBindingParseResponseResult ¶
type SAMLBindingParseResponseResult interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.