handler

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFacebookClient

func CreateFacebookClient(appID string, appSecret string, redirectUri string, enableAppSecretProof bool) *fb.App

Types

type Env

type Env struct {
	FbApp *fb.App
}

func (*Env) FacebookLoginHandler

func (env *Env) FacebookLoginHandler(w http.ResponseWriter, r *http.Request)

type FacebookRequest

type FacebookRequest struct {
	Token string
}

type User

type User struct {
	Id        string
	FirstName string
	LastName  string
	Locale    string
	Email     string
}

Jump to

Keyboard shortcuts

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