Versions in this module Expand all Collapse all v0 v0.0.1 Dec 2, 2016 Changes in this version + type OAuthFacebook struct + Email string + FirstName string + Gender string + Id string + LastName string + Link string + Locale string + Name string + Picture string + func (self *OAuthFacebook) Callback(state string, code string) (User, error) + func (self *OAuthFacebook) CheckToken(client *http.Client, accessToken *facebookAccessToken, facebookToken string) (bool, error) + func (self *OAuthFacebook) GenerateLoginUrl() string + func (self *OAuthFacebook) GetClientID() *string + func (self *OAuthFacebook) GetClientSecret() *string + func (self *OAuthFacebook) GetEmail() *string + func (self *OAuthFacebook) GetID() *int + func (self *OAuthFacebook) GetName() *string + func (self *OAuthFacebook) GetSource() string + type OAuthGithub struct + func (self *OAuthGithub) Callback(state string, code string) (User, error) + func (self *OAuthGithub) GenerateLoginUrl() string + func (self *OAuthGithub) GetClientID() *string + func (self *OAuthGithub) GetClientSecret() *string + func (self *OAuthGithub) GetEmail() *string + func (self *OAuthGithub) GetID() *int + func (self *OAuthGithub) GetName() *string + func (self *OAuthGithub) GetSource() string + type OAuthGoogle struct + Email string + FamilyName string + Gender string + GivenName string + Id string + Link string + Locale string + Name string + Picture string + VerifiedEmail string + func (self *OAuthGoogle) Callback(state string, code string) (User, error) + func (self *OAuthGoogle) GenerateLoginUrl() string + func (self *OAuthGoogle) GetClientID() *string + func (self *OAuthGoogle) GetClientSecret() *string + func (self *OAuthGoogle) GetEmail() *string + func (self *OAuthGoogle) GetID() *int + func (self *OAuthGoogle) GetName() *string + func (self *OAuthGoogle) GetSource() string + type User interface + Callback func(state string, code string) (User, error) + GenerateLoginUrl func() string + GetClientID func() *string + GetClientSecret func() *string + GetEmail func() *string + GetID func() *int + GetName func() *string + GetSource func() string + func NewOAuthFacebook() User + func NewOAuthGitHub() User + func NewOAuthGoogle() User