authorization

package
v0.0.0-...-a3173c0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateToken

func GenerateToken(data *model.Login) (string, error)

GenerateToken .

func LoadFiles

func LoadFiles(privateFile, publicFile string) error

LoadFiles .

func ValidateToken

func ValidateToken(t string) (model.Claim, error)

ValidateToken .

Types

This section is empty.

Jump to

Keyboard shortcuts

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