Help us shape the future of Go! Take the 2026 Go Developer Survey

httpauth

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package httpauth decodes HTTP token credentials for inbound adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Credentials

func Credentials(r *http.Request) (secret string, present bool)

Credentials returns the Basic password or Bearer/token value. A malformed nonempty header is present with an empty secret, so authentication fails closed.

Types

This section is empty.

Source Files

  • credentials.go

Jump to

Keyboard shortcuts

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