Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SigningMethod = &jwt.SigningMethodEd25519{}
SigningMethod is a JSON Web Token signing method. It uses Ed25519 keys to sign and verify tokens.
Functions ¶
This section is empty.
Types ¶
type Pair ¶
type Pair struct {
// contains filtered or unexported fields
}
Pair is a JSON Web Key pair.
func (Pair) PrivateKey ¶
func (p Pair) PrivateKey() crypto.PrivateKey
PrivateKey returns the private key.
Click to show internal directories.
Click to hide internal directories.