httpauth

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package httpauth extracts auth information from an HTTP request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientWithToken

func ClientWithToken(ctx context.Context, c *client.APIClient, req *http.Request) *client.APIClient

ClientWithToken extracts an auth token from the HTTP request (special header or query parameter), and returns a Pach client that will use that token for future requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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