jwt

package
v0.0.0-...-d304510 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWT

func JWT(payload map[string]interface{}) (string, error)

JWT generates a JWT by combining header, payload, and signature

func Signature

func Signature(str string) (string, error)

Signature signs a message with a private key

func ValidateJWT

func ValidateJWT(input string, format interface{}) error

ValidateJWT validates the format of a JWT

Types

This section is empty.

Jump to

Keyboard shortcuts

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