service

package
v0.0.0-...-d6791e1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword

func ComparePassword(hashedPassword string, password string) error

func GenerateAccessToken

func GenerateAccessToken(user *usermodel.User) (string, error)

func GenerateAccessTokenFromRefreshToken

func GenerateAccessTokenFromRefreshToken(c echo.Context) (string, error)

func GenerateRefreshToken

func GenerateRefreshToken(user *usermodel.User, remember bool, c echo.Context) error

func HashPassword

func HashPassword(password string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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