authjwttokens

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs = configset.Set[Config]{
	Default: &Config{},
	Dev: &Config{
		SignKey: strings.Repeat("00", hashSize),
	},
	Test: &Config{
		SignKey: strings.Repeat("00", hashSize),
	},
}

Functions

func New

func New(cfg *Config) (authtokens.Tokens, error)

Types

type Config

type Config struct {
	SignKey string `koanf:"sign_key"`
}

Jump to

Keyboard shortcuts

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