Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeAuthenticator
- type FakeOauthClient
- func (fake *FakeOauthClient) NewConsumer(key string, secret string, requestTokenUrl string, authorizeTokenUrl string, ...) auth.OauthConsumer
- func (fake *FakeOauthClient) NewConsumerArgsForCall(i int) (string, string, string, string, string)
- func (fake *FakeOauthClient) NewConsumerCallCount() int
- func (fake *FakeOauthClient) NewConsumerReturns(result1 auth.OauthConsumer)
- type FakeOauthConsumer
- func (fake *FakeOauthConsumer) AuthorizeToken(rtoken *oauth.RequestToken, verificationCode string) (atoken *oauth.AccessToken, err error)
- func (fake *FakeOauthConsumer) AuthorizeTokenArgsForCall(i int) (*oauth.RequestToken, string)
- func (fake *FakeOauthConsumer) AuthorizeTokenCallCount() int
- func (fake *FakeOauthConsumer) AuthorizeTokenReturns(result1 *oauth.AccessToken, result2 error)
- func (fake *FakeOauthConsumer) GetRequestTokenAndUrl(callbackUrl string) (rtoken *oauth.RequestToken, loginUrl string, err error)
- func (fake *FakeOauthConsumer) GetRequestTokenAndUrlArgsForCall(i int) string
- func (fake *FakeOauthConsumer) GetRequestTokenAndUrlCallCount() int
- func (fake *FakeOauthConsumer) GetRequestTokenAndUrlReturns(result1 *oauth.RequestToken, result2 string, result3 error)
- func (fake *FakeOauthConsumer) MakeHttpClient(token *oauth.AccessToken) (*http.Client, error)
- func (fake *FakeOauthConsumer) MakeHttpClientArgsForCall(i int) *oauth.AccessToken
- func (fake *FakeOauthConsumer) MakeHttpClientCallCount() int
- func (fake *FakeOauthConsumer) MakeHttpClientReturns(result1 *http.Client, result2 error)
- func (fake *FakeOauthConsumer) SetAdditionalParams(params map[string]string)
- func (fake *FakeOauthConsumer) SetAdditionalParamsArgsForCall(i int) map[string]string
- func (fake *FakeOauthConsumer) SetAdditionalParamsCallCount() int
- type FakeUiAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticator ¶
type FakeAuthenticator struct { AuthenticateStub func() (*http.Client, error) // contains filtered or unexported fields }
func (*FakeAuthenticator) Authenticate ¶
func (fake *FakeAuthenticator) Authenticate() (*http.Client, error)
func (*FakeAuthenticator) AuthenticateCallCount ¶
func (fake *FakeAuthenticator) AuthenticateCallCount() int
func (*FakeAuthenticator) AuthenticateReturns ¶
func (fake *FakeAuthenticator) AuthenticateReturns(result1 *http.Client, result2 error)
type FakeOauthClient ¶
type FakeOauthClient struct { NewConsumerStub func(key string, secret string, requestTokenUrl string, authorizeTokenUrl string, accessTokenUrl string) auth.OauthConsumer // contains filtered or unexported fields }
func (*FakeOauthClient) NewConsumer ¶
func (fake *FakeOauthClient) NewConsumer(key string, secret string, requestTokenUrl string, authorizeTokenUrl string, accessTokenUrl string) auth.OauthConsumer
func (*FakeOauthClient) NewConsumerArgsForCall ¶
func (*FakeOauthClient) NewConsumerCallCount ¶
func (fake *FakeOauthClient) NewConsumerCallCount() int
func (*FakeOauthClient) NewConsumerReturns ¶
func (fake *FakeOauthClient) NewConsumerReturns(result1 auth.OauthConsumer)
type FakeOauthConsumer ¶
type FakeOauthConsumer struct { GetRequestTokenAndUrlStub func(callbackUrl string) (rtoken *oauth.RequestToken, loginUrl string, err error) AuthorizeTokenStub func(rtoken *oauth.RequestToken, verificationCode string) (atoken *oauth.AccessToken, err error) SetAdditionalParamsStub func(params map[string]string) MakeHttpClientStub func(token *oauth.AccessToken) (*http.Client, error) // contains filtered or unexported fields }
func (*FakeOauthConsumer) AuthorizeToken ¶
func (fake *FakeOauthConsumer) AuthorizeToken(rtoken *oauth.RequestToken, verificationCode string) (atoken *oauth.AccessToken, err error)
func (*FakeOauthConsumer) AuthorizeTokenArgsForCall ¶
func (fake *FakeOauthConsumer) AuthorizeTokenArgsForCall(i int) (*oauth.RequestToken, string)
func (*FakeOauthConsumer) AuthorizeTokenCallCount ¶
func (fake *FakeOauthConsumer) AuthorizeTokenCallCount() int
func (*FakeOauthConsumer) AuthorizeTokenReturns ¶
func (fake *FakeOauthConsumer) AuthorizeTokenReturns(result1 *oauth.AccessToken, result2 error)
func (*FakeOauthConsumer) GetRequestTokenAndUrl ¶
func (fake *FakeOauthConsumer) GetRequestTokenAndUrl(callbackUrl string) (rtoken *oauth.RequestToken, loginUrl string, err error)
func (*FakeOauthConsumer) GetRequestTokenAndUrlArgsForCall ¶
func (fake *FakeOauthConsumer) GetRequestTokenAndUrlArgsForCall(i int) string
func (*FakeOauthConsumer) GetRequestTokenAndUrlCallCount ¶
func (fake *FakeOauthConsumer) GetRequestTokenAndUrlCallCount() int
func (*FakeOauthConsumer) GetRequestTokenAndUrlReturns ¶
func (fake *FakeOauthConsumer) GetRequestTokenAndUrlReturns(result1 *oauth.RequestToken, result2 string, result3 error)
func (*FakeOauthConsumer) MakeHttpClient ¶
func (fake *FakeOauthConsumer) MakeHttpClient(token *oauth.AccessToken) (*http.Client, error)
func (*FakeOauthConsumer) MakeHttpClientArgsForCall ¶
func (fake *FakeOauthConsumer) MakeHttpClientArgsForCall(i int) *oauth.AccessToken
func (*FakeOauthConsumer) MakeHttpClientCallCount ¶
func (fake *FakeOauthConsumer) MakeHttpClientCallCount() int
func (*FakeOauthConsumer) MakeHttpClientReturns ¶
func (fake *FakeOauthConsumer) MakeHttpClientReturns(result1 *http.Client, result2 error)
func (*FakeOauthConsumer) SetAdditionalParams ¶
func (fake *FakeOauthConsumer) SetAdditionalParams(params map[string]string)
func (*FakeOauthConsumer) SetAdditionalParamsArgsForCall ¶
func (fake *FakeOauthConsumer) SetAdditionalParamsArgsForCall(i int) map[string]string
func (*FakeOauthConsumer) SetAdditionalParamsCallCount ¶
func (fake *FakeOauthConsumer) SetAdditionalParamsCallCount() int
type FakeUiAdapter ¶
type FakeUiAdapter struct { PromptForAccessCodeStub func(url string) (string, error) // contains filtered or unexported fields }
func (*FakeUiAdapter) PromptForAccessCode ¶
func (fake *FakeUiAdapter) PromptForAccessCode(url string) (string, error)
func (*FakeUiAdapter) PromptForAccessCodeArgsForCall ¶
func (fake *FakeUiAdapter) PromptForAccessCodeArgsForCall(i int) string
func (*FakeUiAdapter) PromptForAccessCodeCallCount ¶
func (fake *FakeUiAdapter) PromptForAccessCodeCallCount() int
func (*FakeUiAdapter) PromptForAccessCodeReturns ¶
func (fake *FakeUiAdapter) PromptForAccessCodeReturns(result1 string, result2 error)
Click to show internal directories.
Click to hide internal directories.