providers

package
v0.0.0-...-a837e86 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Providers = map[string]Provider{
	"facebook": facebook.NewFacebook(),
	"google":   google.NewGoogle(),
	"digits":   digits.NewDigits(),
}

Functions

This section is empty.

Types

type Provider

type Provider interface {
	GetName() string
	HandleRedirect(r *http.Request) (string, error)
	Authenticate(driver selenium.WebDriver, appID, appSecret, username, password, redirectURL string) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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