jwtkv

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(keyID string) (secret string, ok bool, err error)

https://pkg.go.dev/github.com/golang-jwt/jwt

func Store

func Store(keyID string, secret string) (err error)

usualy payload is the serialized protobuf message

Types

type Utility

type Utility interface {
	Store(keyID string, secret string) (err error)
	Get(keyID string) (secret string, ok bool, err error)
}

Utility to build & sign JWT token using RSA signing method with (with symetric key) It is used for simple email validation

var DefaultHandler Utility = hardcode.New()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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