jwt

package
v0.54.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TokenFromContext added in v0.52.0

func TokenFromContext(ctx context.Context) (string, bool)

Types

type ServerConfig added in v0.54.0

type ServerConfig struct {
	CookieName string `mapstructure:"cookie-name"`
}

ServerConfig contains configuration for a JWT authentication server.

func FromMap added in v0.54.0

func FromMap(m map[string]any) ServerConfig

FromMap creates a ServerConfig from a map.

Jump to

Keyboard shortcuts

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