jwt

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TimeFunc = time.Now

Functions

func New

func New(publicKey string) auth.Service

Types

type Claims

type Claims struct {
	jwt.RegisteredClaims
}

Implements the `user.User` interface.

func (*Claims) Id

func (c *Claims) Id() string

func (*Claims) Valid

func (c *Claims) Valid() error

Jump to

Keyboard shortcuts

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