basic

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GenErrInternal = authbasicapi.APIErrorResponse{Errors: []string{apierror.ErrInternal.Error()}}
	GenErrConflict = authbasicapi.APIErrorResponse{Errors: []string{apierror.ErrConflict.Error()}}
)

Functions

Types

type Basic added in v0.8.1

type Basic interface {
	method.Method
	adminext.APIProvider
}

func New

func New(opts *Opts) (Basic, error)

New will return an authentication method and register API endpoints with the input serve mux.

type Opts

type Opts struct {
	AuthZConfig map[string]*config.AuthZ
	SQLClient   db.SQLClient
	OASDir      string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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