token

package
v0.0.0-...-480e040 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserClaimsType = "Claims"
	UserMapsType   = "Maps"
)

Variables

This section is empty.

Functions

func SetIssuer

func SetIssuer(iss string)

func SetKey

func SetKey(skey string)

Types

type JWT

type JWT interface {
	Create(body interface{}) JWT
	Parse(token string, body interface{}) JWT
	Error() errors.Error
	Valid() errors.Error
	Get() string
}

func New

func New() JWT

Jump to

Keyboard shortcuts

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