httpauth

package
v1.25.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth

type BasicAuth struct {
	Username, Password string
}

type BearerToken

type BearerToken struct {
	Token string
}

type ParsedAuthorizationHeader

type ParsedAuthorizationHeader struct {
	BasicAuth   *BasicAuth
	BearerToken *BearerToken
}

func ParseAuthorizationHeader

func ParseAuthorizationHeader(header string) (ret ParsedAuthorizationHeader, _ bool)

Jump to

Keyboard shortcuts

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