saml

package
v0.0.0-...-d841f61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BindingRedirect = "redirect"
	BindingPOST     = "post"
)
View Source
const MetadataReqTimeout = time.Second * 15

Variables

This section is empty.

Functions

func NewCanopsisX509KeyStore

func NewCanopsisX509KeyStore(key *rsa.PrivateKey, cert []byte) dsig.X509KeyStore

Types

type ServiceProvider

type ServiceProvider interface {
	SamlMetadataHandler() gin.HandlerFunc
	SamlAuthHandler() gin.HandlerFunc
	SamlAcsHandler() gin.HandlerFunc
	SamlSloHandler() gin.HandlerFunc
}

func NewServiceProvider

func NewServiceProvider(userProvider security.UserProvider, sessionStore libsession.Store, config *security.Config, logger zerolog.Logger) (ServiceProvider, error)

Jump to

Keyboard shortcuts

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