Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProviderID = 1 Scheme = "https" Host = "www.googleapis.com" Opaque = "//www.googleapis.com/plus/v1/people/me" AuthURL = "https://accounts.google.com/o/oauth2/auth" TokenURL = "https://accounts.google.com/o/oauth2/token" )
View Source
const (
FakeEmail = "test@test.com"
)
Variables ¶
View Source
var ( GetAuthUrl = GetAuthUrlFake GetUserFromCode = GetUserFromCodeFake )
Functions ¶
func GetAuthUrlFake ¶
func GetAuthUrlImpl ¶
func Initialize ¶
func Initialize()
Types ¶
type GetAuthURLFunc ¶
type GetUserFromCodeFunc ¶
type GetUserFromCodeFunc func(state string, code string) (GoogleUser, error)
type GoogleUser ¶
func GetUserFromCodeFake ¶
func GetUserFromCodeFake(state string, code string) (GoogleUser, error)
func GetUserFromCodeImpl ¶
func GetUserFromCodeImpl(state string, code string) (GoogleUser, error)
Click to show internal directories.
Click to hide internal directories.