auth

package
v0.0.0-...-83b534f Latest Latest
Warning

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

Go to latest
Published: May 8, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Login(ctx context.Context) (authToken string, err error)
	Type() string
	GetUsername() string
	SetDebug(bool)
}

Provider is a common interface for managing auth tokens with the different third party authenticators

func NewProvider

func NewProvider(provider, username, password string) (Provider, error)

NewProvider creates a new provider based on the provider identifier

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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