sessions

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2015 License: ISC Imports: 16 Imported by: 0

Documentation

Overview

Package sessions provides the JSON handlers to handle connections to gonawin app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthServiceIds added in v0.1.27

func AuthServiceIds(w http.ResponseWriter, r *http.Request) error

AuthServiceIds handler, use it to get the identifiers of Gonawin

func Authenticate

func Authenticate(w http.ResponseWriter, r *http.Request) error

Authenticate handler, use it to authenticate a user. It returns the JSON data of the requested user.

func GoogleAccountsLoginURL added in v0.1.27

func GoogleAccountsLoginURL(w http.ResponseWriter, r *http.Request) error

GoogleAccountsLoginURL handler, use it to get Google accounts login URL.

func GoogleAuthCallback

func GoogleAuthCallback(w http.ResponseWriter, r *http.Request) error

GoogleAuthCallback handler, use it to make a callback for Google Authentication.

func GoogleDeleteCookie added in v0.1.27

func GoogleDeleteCookie(w http.ResponseWriter, r *http.Request) error

GoogleDeleteCookie handler, use it to delete cookie created by Google account.

func GoogleUser added in v0.1.27

func GoogleUser(w http.ResponseWriter, r *http.Request) error

GoogleUser handler, use it to get Google accounts user.

func TwitterAuth added in v0.1.27

func TwitterAuth(w http.ResponseWriter, r *http.Request) error

TwitterAuth handler, use it to authenticate via twitter.

func TwitterAuthCallback

func TwitterAuthCallback(w http.ResponseWriter, r *http.Request) error

TwitterAuthCallback handler, use it to make a callback for Twitter Authentication.

func TwitterUser added in v0.1.27

func TwitterUser(w http.ResponseWriter, r *http.Request) error

TwitterUser handler, use it to get the Twitter user data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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