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)
Click to show internal directories.
Click to hide internal directories.