sessions

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2014 License: ISC Imports: 16 Imported by: 1

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

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

func Authenticate

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

JSON authentication handler

func GoogleAccountsLoginURL

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

JSON handler to get Google accounts login URL.

func GoogleAuthCallback

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

Google Authentication Callback

func GoogleDeleteCookie

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

JSON handler to delete cookie created by Google account

func GoogleUser

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

JSON handler to get Google accounts user.

func TwitterAuth

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

JSON authentication for Twitter.

func TwitterAuthCallback

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

Twitter Authentication Callback

func TwitterUser

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

Twitter Authentication Callback

Types

This section is empty.

Jump to

Keyboard shortcuts

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