authn

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractBearerTokenValue added in v0.17.0

func ExtractBearerTokenValue(r http.Request) (string, error)

Types

type AuthorizationToken added in v0.17.0

type AuthorizationToken struct {
	Type  string `yaml:"type"`
	Value string `yaml:"value"`

	Token string `yaml:"token,omitempty"` // deprecated; newer versions explicitly use type+value
}

type Error

type Error struct {
	// contains filtered or unexported fields
}

func NewError

func NewError(err error) Error

Directories

Path Synopsis
oauth2

Jump to

Keyboard shortcuts

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