auth

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	APIKey(token string) (interface{}, error)
	Basic(user, password string) (interface{}, error)
	OAuth2(token string, scopes []string) (interface{}, error)
	// AuthStore is a function that stores authentication in the context object
	Store(context.Context, interface{}) context.Context
}

Auth functions

Jump to

Keyboard shortcuts

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