lib

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoToken = errors.New("no token detected")

Functions

func CreateOpenAPIFile

func CreateOpenAPIFile(ctx context.Context, filePath string) (map[string]any, error)

func GetNullifyToken added in v0.2.0

func GetNullifyToken(
	ctx context.Context,
	nullifyHost string,
	authSources *models.AuthSources,
) (string, error)

func ParseAuthConfig added in v0.11.0

func ParseAuthConfig(ctx context.Context, configPath string) (*models.AuthConfig, error)

ParseAuthConfig reads and parses an authentication configuration file

func ParseAuthHeaders

func ParseAuthHeaders(ctx context.Context, authHeaders []string) (map[string]string, error)

func SanitizeNullifyHost added in v0.2.0

func SanitizeNullifyHost(nullifyHost string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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