generator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	PrefixId string

	ServerUrls       []string
	JwksUris         map[string]string
	AllowedIssuers   map[string]string
	AllowedAudiences map[string]string
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(prefixId string, jwksUris map[string]string, allowedIssuers map[string]string, allowedAudiences map[string]string, serverUrls []string) *Generator

func (*Generator) Generate

func (g *Generator) Generate() ([]rule.Rule, error)

func (*Generator) LoadOpenAPI3Doc

func (g *Generator) LoadOpenAPI3Doc(ctx context.Context, d *openapi3.T) error

Jump to

Keyboard shortcuts

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