Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthCodeURLHelper ¶
func AuthCodeURLHelper(cfg user.OAuthConfig, state string) string
func ExchangeCodeHelper ¶
func ExchangeCodeHelper(cfg user.OAuthConfig, code string) (user.OAuthToken, error)
func QueryEscapeHelper ¶
Types ¶
type GoogleProvider ¶
func (*GoogleProvider) AuthCodeURL ¶
func (p *GoogleProvider) AuthCodeURL(state string) string
func (*GoogleProvider) ExchangeCode ¶
func (p *GoogleProvider) ExchangeCode(code string) (user.OAuthToken, error)
func (*GoogleProvider) GetUserInfo ¶
func (p *GoogleProvider) GetUserInfo(token user.OAuthToken) (user.OAuthUserInfo, error)
func (*GoogleProvider) Name ¶
func (p *GoogleProvider) Name() string
Click to show internal directories.
Click to hide internal directories.