jwt

package
v0.0.0-...-37a2b90 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenManager

type TokenManager struct {
	PublicKey *rsa.PublicKey
}

func NewJWTManager

func NewJWTManager(pb *rsa.PublicKey) *TokenManager

func (*TokenManager) Verify

func (m *TokenManager) Verify(accessToken string) (*meta.AuthClaims, error)

Jump to

Keyboard shortcuts

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