oauth

package
v0.0.0-...-9de4c71 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SESSION_KEY string = "oauth2"
)

Variables

View Source
var (
	Providers = make(map[string]strategies.Strategy)
)

Functions

func GetUser

func GetUser(c *revel.Controller) (*strategies.UserModel, bool)

func Init

func Init()

func Login

func Login(c *revel.Controller, userData *strategies.UserModel)

func Logout

func Logout(c *revel.Controller)

Types

type ProviderConfig

type ProviderConfig struct {
	Name     string
	Strategy strategies.Strategy
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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