portal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateToken

func CreateToken(store pkgsession.SessionStore, signingKey []byte, hostname string, ttl time.Duration,
	backURL, backText string, ownershipMode pkgsession.OwnershipVerificationMode,
	verifyOwnershipURL, verifyOwnershipText string,
) (string, time.Time, error)

CreateToken stores a new session and returns an HMAC-signed token containing only the session ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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