model

package
v0.0.0-...-2d60ba9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Algorithms = []string{
	"none",
	"es256",
	"es384",
	"es512",
	"hs256",
	"hs384",
	"hs512",
	"ps256",
	"ps384",
	"ps512",
	"rs256",
	"rs384",
	"rs512",
}

Algorithms are all the supported algorithms for signing a JWT

Functions

func AlgorithmForName

func AlgorithmForName(name string) (jwt.SigningMethod, bool)

AlgorithmForName returns the algorithm for the specified name

Types

This section is empty.

Jump to

Keyboard shortcuts

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