auth

package
v0.0.0-...-35ce3d9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(ctx *fasthttp.RequestCtx) (*model.User, *model.UserConnection, error)

func CurrentUser

func CurrentUser(ctx *fasthttp.RequestCtx) *model.User

func FacebookAuthCodeURL

func FacebookAuthCodeURL() string

func GoogleAuthCodeURL

func GoogleAuthCodeURL() string

func Load

func Load()

func SetCurrentUser

func SetCurrentUser(ctx *fasthttp.RequestCtx, user *model.User)

Types

This section is empty.

Jump to

Keyboard shortcuts

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