auth

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package auth holds web-layer auth helpers shared across the internal/web/handler/auth/* page packages (login, register, etc.).

Pure service-layer code (Authenticate, Register flows) lives in internal/service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearSession

func ClearSession(c echo.Context, sm *hamrauth.SessionManager)

ClearSession deletes the session cookie. Called by Logout.

func SetSession

func SetSession(c echo.Context, sm *hamrauth.SessionManager, session *hamrauth.Session)

SetSession writes the session cookie using the session manager's config. Called after Login and Register hand off to the user's session.

Types

This section is empty.

Directories

Path Synopsis
Package invite handles org invite links: an existing session joins the org directly, a fresh visitor creates an account through the invite.
Package invite handles org invite links: an existing session joins the org directly, a fresh visitor creates an account through the invite.
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001

Jump to

Keyboard shortcuts

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