jwtvalidator

package
v0.0.0-...-9df599e Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTStringValidator

type JWTStringValidator struct {
	// contains filtered or unexported fields
}

func NewJWTStringValidator

func NewJWTStringValidator(secretKey string) JWTStringValidator

func (*JWTStringValidator) ValidateAndGetUserID

func (v *JWTStringValidator) ValidateAndGetUserID(tokenString string) (string, error)

ValidateAndGetUserID валидирует токен и получает из него UserID

Jump to

Keyboard shortcuts

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