helpers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetSessionCookieFromAuth

func SetSessionCookieFromAuth(
	c forge.Context,
	authInst core.Authsome,
	token string,
	expiresAt time.Time,
) error

SetSessionCookieFromAuth is a helper that retrieves cookie configuration from the auth instance and sets the session cookie if enabled. This is a convenience method for handlers and plugins.

Types

This section is empty.

Jump to

Keyboard shortcuts

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