keychain

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrInvalidKey is returned when a public key is invalid
	ErrInvalidKey = errors.New("invalid public key")
)

Functions

func AuthorizeKeys

func AuthorizeKeys(keys ...string)

AuthorizeKeys authorizes keys

func ValidateToken

func ValidateToken(tokenString string, scopes ...[]string) (*jwt.Token, error)

ValidateToken validates a jwt token

Types

This section is empty.

Jump to

Keyboard shortcuts

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