Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { oauth.AuthData // UserID is the user to act on the behalf of. UserID string // contains filtered or unexported fields }
Auth struct holds data necessary for making requests in 2-legged context
func (Auth) Authenticate ¶
Authenticate allows getting a token with a given scope
func (Auth) GetTokenWithScope ¶
GetTokenWithScope will get the a token for the given scope
Click to show internal directories.
Click to hide internal directories.