authn

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Unknown error ID. It's returned when the implementation has not returned another AsertoError.
	ErrUnknown = newErr("E40000", codes.Internal, http.StatusInternalServerError, "an unknown error has occurred")
	// Returned when authentication has failed or is not possible
	ErrAuthenticationFailed = newErr("E40001", codes.FailedPrecondition, http.StatusUnauthorized, "authentication failed")
)

Functions

func ParseAuthHeader

func ParseAuthHeader(val, expectedScheme string) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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