access

package
v0.0.0-...-4957362 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetRequestAuthentication

func SetRequestAuthentication(r *http.Request, trusted bool) *http.Request

SetRequestAuthentication sets the trusted status for the request. A trusted request will be treated as having come from a trusted system.

Types

type TrustedRequest

type TrustedRequest struct {
	Trusted bool
}

TrustedRequest holds data pertaining to what level of trust we have for the request.

Jump to

Keyboard shortcuts

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