NewOAuthClientClient returns a client for the OAuthClient from the given config.
(c config)
| 1705 | |
| 1706 | // NewOAuthClientClient returns a client for the OAuthClient from the given config. |
| 1707 | func NewOAuthClientClient(c config) *OAuthClientClient { |
| 1708 | return &OAuthClientClient{config: c} |
| 1709 | } |
| 1710 | |
| 1711 | // Use adds a list of mutation hooks to the hooks stack. |
| 1712 | // A call to `Use(f, g, h)` equals to `oauthclient.Hooks(f(g(h())))`. |