challenger

package
v0.39.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	http.Handler

	RegisterChallenge(path, response string)
	UnregisterChallenge(path string)
}

Interface defines the interface for handling register, unregistering, and serving challenge responses.

func New

func New(ctx context.Context) (Interface, error)

New creates a new challenger instance, which can be exposed on an http.Server.

Jump to

Keyboard shortcuts

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