token

package
v0.0.0-...-a7d25ea Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWKJson

func JWKJson() string

func New

func New(userID string) (string, error)

func Parse

func Parse(token io.Reader) (*jwt.Token, error)

Types

type Claim

type Claim struct {
	UserID string `json:"userId"`
	jwt.Token
}

Jump to

Keyboard shortcuts

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