jwt

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeContext

func DecodeContext(c echo.Context, key string) interface{}

DecodeContext will decode context and return the value by key

func Sign

func Sign(claims map[string]interface{}) (string, error)

Sign returns jwt token string

func Verify

func Verify(tokenString string) bool

Verify returns the payload and is valid

Types

This section is empty.

Jump to

Keyboard shortcuts

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