Documentation ¶ Index ¶ Variables type Provider func Current() *Provider func (p *Provider) Available() bool func (p *Provider) Callback(ctx context.Context, code, verifier string) (*UserInfo, error) func (p *Provider) Start(w http.ResponseWriter, state, verifier string) type UserInfo Constants ¶ This section is empty. Variables ¶ View Source var ErrNotAvailable = errors.New("oauth_google_not_available") Functions ¶ This section is empty. Types ¶ type Provider ¶ type Provider struct{} func Current ¶ func Current() *Provider func (*Provider) Available ¶ func (p *Provider) Available() bool func (*Provider) Callback ¶ func (p *Provider) Callback(ctx context.Context, code, verifier string) (*UserInfo, error) func (*Provider) Start ¶ func (p *Provider) Start(w http.ResponseWriter, state, verifier string) type UserInfo ¶ type UserInfo struct { Provider string Subject string Email string VerifiedEmail bool } Source Files ¶ View all Source files oauthgoogle.go Click to show internal directories. Click to hide internal directories.