basicauth

package
v1.5.0-staging-migrate... Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestBasicAuthUsername = "testUsername"
	TestBasicAuthPassword = "testPassword"
	AuthorizationHeader   = "Authorization"
)

Variables

View Source
var ErrCredentialsLength = errors.New("credentials array length should only have two entries")

Functions

func EncodeBasicAuthForTests

func EncodeBasicAuthForTests(t *testing.T) string

func GetBasicAuth

func GetBasicAuth(basicAuth string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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