Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Options) *samlsp.Middleware
func ServiceProvider ¶
func ServiceProvider(conf *config) *samlsp.Middleware
Types ¶
type SAMLConfig ¶
type SAMLConfig struct {
MetadataURL string `yaml:"metadata_url" json:"metadata_url"`
X509Cert string `yaml:"x509_cert" json:"x509_cert"`
X509Key string `yaml:"x509_key" json:"x509_key"`
RootURL string `yaml:"root_url" json:"root_url"`
IDPLogout string `yaml:"idp_logout" json:"idp_logout"`
}
var SAMLConf SAMLConfig
Click to show internal directories.
Click to hide internal directories.