go-httpauth

module
v0.0.0-...-7839e87 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0

README

go-httpauth

Overview

This library introduces "advanced" HTTP Authentication mechanisms to be used in the golang HTTP stack (http.Transport). While the golang HTTP stack provides support for Basic Authentication or more generally authentication mechanisms that require a single authentication message to be send. This implementation adds support for mechanisms that require multiple messages to be exchanged for authentication, like challenge response based types like NTLM.

The current focus is on Proxy Authentication but future use is not limited to it.

The implementation supports automatic mechanism detection with httpauth.AnyAuth

Currently supported authentication mechanism:

Usage

Proxy Authentication

See cmd/example1/main.go

Directories

Path Synopsis
cmd
pkg
httpauth
Package httpauth is a generated GoMock package.
Package httpauth is a generated GoMock package.
test

Jump to

Keyboard shortcuts

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