auth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthContextKey = AuthContextType{}

Functions

This section is empty.

Types

type AuthContext added in v1.0.0

type AuthContext struct {
	Subject  string
	Username string
	Valid    bool
}

func GetUser added in v1.0.0

func GetUser(r *http.Request) AuthContext

type AuthContextType added in v1.0.0

type AuthContextType struct{}

Jump to

Keyboard shortcuts

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