session

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSessionToken

func CheckSessionToken(sessionToken string) (rbac.Role, error)

func CreateSessionCookie

func CreateSessionCookie(role rbac.Role) http.Cookie

func DeleteSessionCookie

func DeleteSessionCookie(sessionToken string) http.Cookie

func RefreshSessionCookie

func RefreshSessionCookie(sessionToken string) (http.Cookie, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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