jwt

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractClaims added in v0.1.1

func ExtractClaims(tokenString string) (*gojwt.StandardClaims, error)

func SignWithHS256 added in v0.1.1

func SignWithHS256(claims *gojwt.StandardClaims, secret []byte) (token string, err error)

func VerifyWithHMAC added in v0.1.1

func VerifyWithHMAC(tokenString string, secret []byte) (*gojwt.StandardClaims, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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