tokenjwt

package
v0.0.0-...-71fa18b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateToken

func CreateToken(displayName string, email string, image string) (string, *errors.CustomError)

CreateToken a new token object, specifying signing method and the claims

func ExtractData

func ExtractData(tokenStr string) (jwt.MapClaims, *errors.CustomError)

func VerifyToken

func VerifyToken(token string) (bool, *errors.CustomError)

Types

This section is empty.

Jump to

Keyboard shortcuts

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