Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(app *aero.Application)
Install installs the authentication routes in the application.
func InstallFacebookAuth ¶
func InstallFacebookAuth(app *aero.Application)
InstallFacebookAuth enables Facebook login for the app.
func InstallGoogleAuth ¶
func InstallGoogleAuth(app *aero.Application)
InstallGoogleAuth enables Google login for the app.
func InstallTwitterAuth ¶
func InstallTwitterAuth(app *aero.Application)
InstallTwitterAuth enables Twitter login for the app.
Types ¶
type FacebookUser ¶
type FacebookUser struct {
ID string `json:"id"`
Email string `json:"email"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Gender string `json:"gender"`
}
FacebookUser is the user data we receive from Facebook
Click to show internal directories.
Click to hide internal directories.