Documentation ¶
Overview ¶
Package sessions provides the JSON handlers to handle connections to gonawin app.
Index ¶
- func AuthServiceIds(w http.ResponseWriter, r *http.Request) error
- func Authenticate(w http.ResponseWriter, r *http.Request) error
- func GoogleAccountsLoginURL(w http.ResponseWriter, r *http.Request) error
- func GoogleAuthCallback(w http.ResponseWriter, r *http.Request) error
- func GoogleDeleteCookie(w http.ResponseWriter, r *http.Request) error
- func GoogleUser(w http.ResponseWriter, r *http.Request) error
- func TwitterAuth(w http.ResponseWriter, r *http.Request) error
- func TwitterAuthCallback(w http.ResponseWriter, r *http.Request) error
- func TwitterUser(w http.ResponseWriter, r *http.Request) error
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.
Click to show internal directories.
Click to hide internal directories.