authmanager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoLogin          = errors.New("no valid login")
	ErrSessionNotActive = errors.New("session not active")
)

Functions

func GetTokenClaims

func GetTokenClaims(accessToken string) (jwt.MapClaims, error)

func IsExpired

func IsExpired(claims jwt.MapClaims) bool

func NewAuthManager

func NewAuthManager() *authManager

Types

This section is empty.

Jump to

Keyboard shortcuts

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