jwt_generator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Ctx        context.Context
	Kid        string
	JwtKeyPath string

	JwtSub string
	JwtIss string
	JwtAud string
	// contains filtered or unexported fields
}

type JWTGenerator

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

func NewJWTGenerator

func NewJWTGenerator(config *Config) *JWTGenerator

func (*JWTGenerator) Generate

func (j *JWTGenerator) Generate(reqJwtCount int64, dir string, retrying bool) error

func (*JWTGenerator) JWTS

func (j *JWTGenerator) JWTS(count int64) (<-chan string, <-chan error)

Jump to

Keyboard shortcuts

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