authmock

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ECDSAKeyFunc

func ECDSAKeyFunc(pk crypto.PublicKey) jwt.Keyfunc

ECDSAKeyFunc represents the keyfunc for the mock parser.

func NewECDSAIssuerAndParser

func NewECDSAIssuerAndParser() (*auth.Issuer, *auth.Parser, error)

NewECDSAIssuerAndParser creates a new issuer with a random key pair.

func NewRSAIssuerAndParser

func NewRSAIssuerAndParser() (*auth.Issuer, *auth.Parser, error)

NewRSAIssuerAndParser creates a new issuer with a random key pair.

func RSAKeyFunc

func RSAKeyFunc(pk crypto.PublicKey) jwt.Keyfunc

RSAKeyFunc represents the keyfunc for the mock parser.

Types

This section is empty.

Jump to

Keyboard shortcuts

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