auth

package
v0.0.0-...-0d90696 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserNotFound = errors.New("Usuário não encontrado")
)

Functions

func SignIn

func SignIn(email, password string) (string, error)

func UpdateAuditLogin

func UpdateAuditLogin(userID uint32) error

func ValidateToken

func ValidateToken(c *gin.Context, tokenRequest models.TokenValidRequest) (tokenResponse models.TokenValidResponse, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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