token

package
v0.3.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Retrieve

func Retrieve(r *http.Request) (string, error)

Retrieve gets the token from the provided request http.Request to be parsed and validated. This is called on every request to enable capturing the user making the request and validating they have the proper access. The following methods of providing authentication to Vela are supported:

* Bearer token in `Authorization` header

Types

This section is empty.

Jump to

Keyboard shortcuts

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