jwt

package
v0.0.0-...-31ecfee Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedKey = errors.New("unsupported key")

Functions

This section is empty.

Types

type Module

type Module struct{}

func New

func New() *Module

func (*Module) Decode

func (m *Module) Decode(compact string) (interface{}, error)

func (*Module) Sign

func (m *Module) Sign(key *jose.JSONWebKey, payload, header map[string]interface{}) (string, error)

func (*Module) Verify

func (m *Module) Verify(compact string, keys ...interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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