oauth2

package
v0.0.0-...-ac08f58 Latest Latest
Warning

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

Go to latest
Published: May 31, 2015 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GoogleEndpoint can be used to
	GoogleEndpoint = oauth2.Endpoint{
		AuthURL:  `https://accounts.google.com/o/oauth2/auth`,
		TokenURL: `https://accounts.google.com/o/oauth2/token`,
	}
)

Functions

func Google

func Google(cfg oauth2.Config, token *oauth2.Token) (authboss.Attributes, error)

Google is a callback appropriate for use with Google's OAuth2 configuration.

Types

type OAuth2

type OAuth2 struct{}

OAuth2 module

func (*OAuth2) Initialize

func (o *OAuth2) Initialize() error

Initialize module

func (*OAuth2) Routes

func (o *OAuth2) Routes() authboss.RouteTable

Routes for module

func (*OAuth2) Storage

func (o *OAuth2) Storage() authboss.StorageOptions

Storage requirements

Jump to

Keyboard shortcuts

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