auth

package
v0.1.9-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AuthHeader = "Authorization"

Variables

This section is empty.

Functions

This section is empty.

Types

type BearerTokenChecker

type BearerTokenChecker struct {
	Checker
}

func (*BearerTokenChecker) CheckAuth

func (b *BearerTokenChecker) CheckAuth(ctx context.Context, header http.Header) error

type Checker

type Checker interface {
	CheckAuth(ctx context.Context, header http.Header) error
}

Jump to

Keyboard shortcuts

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