auth

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(encodedKey []byte) error

Types

type UserTokenClaims

type UserTokenClaims struct {
	jwt.RegisteredClaims

	User *entities.User
}

func ValidateHS256Token

func ValidateHS256Token(tokenString string) (*UserTokenClaims, error)

Jump to

Keyboard shortcuts

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