Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oauth2Basic ¶
type Oauth2Basic struct{}
func (*Oauth2Basic) CodeUrl ¶
func (o *Oauth2Basic) CodeUrl(state string) string
CodeUrl get url to redirect client for auth
func (*Oauth2Basic) Exchange ¶
func (o *Oauth2Basic) Exchange(code string) (*oauth2.Token, error)
Exchange exchange code for Oauth2 token
func (*Oauth2Basic) Logout ¶
func (o *Oauth2Basic) Logout() error
Click to show internal directories.
Click to hide internal directories.