tokens

package
v0.0.0-...-5e14d7d Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyToken

func VerifyToken(tokenString string) (jwt.Claims, error)

VerifyJWTToken parses the JWT token to validate if it is correctly signed and returns the claims that are included.

Types

type JWTToken

type JWTToken struct {
	Token string `json:"token"`
}

Jump to

Keyboard shortcuts

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