Documentation ¶
Index ¶
Constants ¶
View Source
const ( SAMLRoot = "/saml" SSOPath = "/sso" InitiatePath = "/initiate" )
Default paths for handling SAML requests.
Variables ¶
This section is empty.
Functions ¶
func RegisterAPIHandler ¶
func RegisterAPIHandler(e *echo.Echo, s *Service)
RegisterAPIHandler registers endpoints used by SAML.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a SAML service capable of sending SAML requests and consuming responses.
func New ¶
New constructs a new SAML service that is capable of sending SAML requests and consuming responses.
func (*Service) MakeRedirectBinding ¶
MakeRedirectBinding makes a SAML redirect binding as described at https://en.wikipedia.org/wiki/SAML_2.0#HTTP_Redirect_Binding.
Click to show internal directories.
Click to hide internal directories.