auth

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthHeader added in v0.0.6

func GetAuthHeader(ctx context.Context) string

GetAuthHeader returns the auth header. REQUIRES Middleware to have run.

func Middleware

func Middleware(auth *authn.Client) func(http.Handler) http.Handler

Middleware decodes the session token and packs the session into the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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