jwt

package
v0.0.0-...-ebfcf3b Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(signingKey string) *Manager

func (*Manager) Generate

func (m *Manager) Generate(id string, ttl time.Duration) (string, error)

func (*Manager) GenerateRefresh

func (m *Manager) GenerateRefresh() (string, error)

func (*Manager) Parse

func (m *Manager) Parse(accessToken string) (string, error)

Jump to

Keyboard shortcuts

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