saml

package
v0.0.0-...-6c48858 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: AGPL-3.0 Imports: 28 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

This section is empty.

Types

type Provider

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

func NewProvider

func NewProvider(
	ctx context.Context,
	userProvider security.UserProvider,
	roleValidator security.RoleProvider,
	sessionStore libsession.Store,
	enforcer security.Enforcer,
	config security.Config,
	tokenService apisecurity.TokenService,
	maintenanceAdapter config.MaintenanceAdapter,
	logger zerolog.Logger,
) (Provider, error)

Jump to

Keyboard shortcuts

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