bearer

package
v1.21.21 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

View Source
const (
	AuthHeader = "Authorization"
	Realm      = "Bearer "
)

Variables

View Source
var ForceCookie = false

Functions

func BuildAuth

func BuildAuth(jwtStr string) (header string, value string)

func GetAuth

func GetAuth(ctx server.Context) (auth string, ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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