sessionauth

package
v0.0.0-...-7ff62be Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package sessionauth contains authentication by session. Deprecated : don't use session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	LogoutHandler() gin.HandlerFunc
	LoginHandler() gin.HandlerFunc
}

func NewApi

func NewApi(
	sessionStore libsession.Store,
	providers []security.Provider,
	maintenanceAdapter config.MaintenanceAdapter,
	enforcer security.Enforcer,
	logger zerolog.Logger,
) API

Jump to

Keyboard shortcuts

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