token

package
v0.0.0-...-de156ab Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccessMaxAge = time.Minute * 5
)

Functions

func NewLocalStore

func NewLocalStore(dbPath string) (*localStore, error)

func Parse

func Parse(key ed25519.PublicKey, unparsed string) (*jwt.Token, error)

Types

type ErrorUnknownAlgorithm

type ErrorUnknownAlgorithm struct {
	// contains filtered or unexported fields
}

func (ErrorUnknownAlgorithm) Error

func (err ErrorUnknownAlgorithm) Error() string

type Store

type Store interface {
	New(identity.PrivateIdentity) (string, error)
	Delete(string, string) error
	Close()
}

Jump to

Keyboard shortcuts

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