auth

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateJTI

func GenerateJTI() string

GenerateJTI creates a unique token identifier.

func GenerateTokenPair

func GenerateTokenPair(jwtSecret, username string) (accessToken, refreshToken string, err error)

GenerateTokenPair creates access and refresh JWT tokens.

Types

This section is empty.

Jump to

Keyboard shortcuts

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