text: import "github.com/markbates/goth/providers/tumblr"
  Package tumblr implements the OAuth protocol for authenticating users through Tumblr. This package can be used as a reference implementation of an OAuth provider for Goth.
  type Provider struct { ClientKey string Secret string CallbackURL string HTTPClient *http.Client // contains filtered or unexported fields }
  Provider is the implementation of `goth.Provider` for accessing Tumblr.
  New creates a new Tumblr provider, and sets up important connection details. You should always call `tumblr.New` to get a new Provider. Never try to create one manually.
  If you'd like to use authenticate instead of authorize, use NewAuthenticate instead.
  NewAuthenticate is the almost same as New. NewAuthenticate uses the authenticate URL instead of the authorize URL.
  BeginAuth asks Tumblr for an authentication end-point and a request token for a session. Tumblr does not support the "state" variable.
  Debug sets the logging of the OAuth client to verbose.
  FetchUser will go to Tumblr and access basic information about the user.
  Name is the name used to retrieve this provider later.
  RefreshToken refresh token is not provided by Tumblr
  RefreshTokenAvailable refresh token is not provided by Tumblr
  SetName is to update the name of the provider (needed in case of multiple providers of 1 type)
  UnmarshalSession will unmarshal a JSON string into a session.
  type Session struct { AuthURL string AccessToken *oauth.AccessToken RequestToken *oauth.RequestToken }
  Session stores data during the auth process with Tumblr.
  Authorize the session with Tumblr and return the access token to be stored for future use.
  GetAuthURL will return the URL set by calling the `BeginAuth` function on the Tumblr provider.
  Marshal the session into a string
  Package tumblr imports 8 packages (graph). Updated 2018-10-08. Refresh now. Tools for package owners.