auth

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	ApiKey    string
	Transport string
}

func NewAuthenticator

func NewAuthenticator(transport string, token string) *Authenticator

func (*Authenticator) FromRequest

func (a *Authenticator) FromRequest(ctx context.Context, r *http.Request) context.Context

func (*Authenticator) Middleware

func (a *Authenticator) Middleware() server.ToolHandlerMiddleware

Jump to

Keyboard shortcuts

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