helpers

package
v0.0.0-...-b4fdffc Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTokenBadFormated        = errors.New("token bad formated")
	ErrTokenPayloadBadFormated = errors.New("token payload bad formated")
)

Functions

func ValidatePayloadJwtDto

func ValidatePayloadJwtDto(jwtDto dto.JWTDTO) error

ValidatePayloadJwtDto execute validation for payload the token

func VerifyToken

func VerifyToken(bearerToken string) (dto.JWTDTO, error)

VerifyToken execute validation for bearer token

Types

This section is empty.

Jump to

Keyboard shortcuts

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