Versions in this module Expand all Collapse all v0 v0.2.1 Oct 7, 2014 Changes in this version + const OOB + type AccessToken struct + func NewAccessToken(token, secret string, params map[string]string) *AccessToken + func ParseAccessToken(reader io.ReadCloser) (*AccessToken, error) + func ParseAccessTokenStr(str string) (*AccessToken, error) + func (a *AccessToken) Encode() string + func (a *AccessToken) Params() map[string]string + func (a *AccessToken) Secret() string + func (a *AccessToken) Token() string + type Consumer struct + AccessTokenURL string + AuthorizationURL string + CallbackURL string + ConsumerKey string + ConsumerSecret string + RequestTokenURL string + func (c *Consumer) AuthorizeRedirect(t *RequestToken) (string, error) + func (c *Consumer) AuthorizeToken(t *RequestToken, verifier string) (*AccessToken, error) + func (c *Consumer) RequestToken() (*RequestToken, error) + func (c *Consumer) Sign(req *http.Request, token Token) error + func (c *Consumer) SignParams(req *http.Request, token Token, params map[string]string) error + type RequestToken struct + func ParseRequestToken(reader io.ReadCloser) (*RequestToken, error) + func ParseRequestTokenStr(str string) (*RequestToken, error) + func (r *RequestToken) Encode() string + func (r *RequestToken) Secret() string + func (r *RequestToken) Token() string + type Token interface + Encode func() string + Secret func() string + Token func() string