internal

package
v0.0.0-...-427577d Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenIssuer = "odin-takehome"
)

Variables

This section is empty.

Functions

func GenerateJWTToken

func GenerateJWTToken(userId string) (string, error)

func HashPassword

func HashPassword(password string) (string, error)

func ValidateJWTToken

func ValidateJWTToken(tokenString string) (*jwt.StandardClaims, error)

func VerifyPassword

func VerifyPassword(storedHash string, password string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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