handler

package
v0.0.0-...-41b2a9d Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

internal/handler/auth.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
	// contains filtered or unexported fields
}

func NewAuthHandler

func NewAuthHandler(authService *services.AuthService, sessionManager *session.SessionManager, logger *slog.Logger) *AuthHandler

func (*AuthHandler) HandleLogin

func (h *AuthHandler) HandleLogin(c *echo.Context) error

HandleLogin processes login form submission

func (*AuthHandler) HandleLogout

func (h *AuthHandler) HandleLogout(c *echo.Context) error

HandleLogout destroys the session and redirects to login

func (*AuthHandler) ShowLoginPage

func (h *AuthHandler) ShowLoginPage(c *echo.Context) error

ShowLoginPage renders the login page

Jump to

Keyboard shortcuts

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