Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeProvider
- func (fake *FakeProvider) AuthCodeURL(arg1 string, arg2 ...oauth2.AuthCodeOption) string
- func (fake *FakeProvider) AuthCodeURLArgsForCall(i int) (string, []oauth2.AuthCodeOption)
- func (fake *FakeProvider) AuthCodeURLCallCount() int
- func (fake *FakeProvider) AuthCodeURLReturns(result1 string)
- func (fake *FakeProvider) Client(arg1 context.Context, arg2 *oauth2.Token) *http.Client
- func (fake *FakeProvider) ClientArgsForCall(i int) (context.Context, *oauth2.Token)
- func (fake *FakeProvider) ClientCallCount() int
- func (fake *FakeProvider) ClientReturns(result1 *http.Client)
- func (fake *FakeProvider) Exchange(arg1 context.Context, arg2 string) (*oauth2.Token, error)
- func (fake *FakeProvider) ExchangeArgsForCall(i int) (context.Context, string)
- func (fake *FakeProvider) ExchangeCallCount() int
- func (fake *FakeProvider) ExchangeReturns(result1 *oauth2.Token, result2 error)
- func (fake *FakeProvider) Invocations() map[string][][]interface{}
- func (fake *FakeProvider) PreTokenClient() (*http.Client, error)
- func (fake *FakeProvider) PreTokenClientCallCount() int
- func (fake *FakeProvider) PreTokenClientReturns(result1 *http.Client, result2 error)
- func (fake *FakeProvider) Verify(arg1 lager.Logger, arg2 *http.Client) (bool, error)
- func (fake *FakeProvider) VerifyArgsForCall(i int) (lager.Logger, *http.Client)
- func (fake *FakeProvider) VerifyCallCount() int
- func (fake *FakeProvider) VerifyReturns(result1 bool, result2 error)
- type FakeVerifier
- func (fake *FakeVerifier) Invocations() map[string][][]interface{}
- func (fake *FakeVerifier) Verify(arg1 lager.Logger, arg2 *http.Client) (bool, error)
- func (fake *FakeVerifier) VerifyArgsForCall(i int) (lager.Logger, *http.Client)
- func (fake *FakeVerifier) VerifyCallCount() int
- func (fake *FakeVerifier) VerifyReturns(result1 bool, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeProvider ¶
type FakeProvider struct { PreTokenClientStub func() (*http.Client, error) AuthCodeURLStub func(string, ...oauth2.AuthCodeOption) string ExchangeStub func(context.Context, string) (*oauth2.Token, error) ClientStub func(context.Context, *oauth2.Token) *http.Client VerifyStub func(lager.Logger, *http.Client) (bool, error) // contains filtered or unexported fields }
func (*FakeProvider) AuthCodeURL ¶
func (fake *FakeProvider) AuthCodeURL(arg1 string, arg2 ...oauth2.AuthCodeOption) string
func (*FakeProvider) AuthCodeURLArgsForCall ¶
func (fake *FakeProvider) AuthCodeURLArgsForCall(i int) (string, []oauth2.AuthCodeOption)
func (*FakeProvider) AuthCodeURLCallCount ¶
func (fake *FakeProvider) AuthCodeURLCallCount() int
func (*FakeProvider) AuthCodeURLReturns ¶
func (fake *FakeProvider) AuthCodeURLReturns(result1 string)
func (*FakeProvider) ClientArgsForCall ¶
func (*FakeProvider) ClientCallCount ¶
func (fake *FakeProvider) ClientCallCount() int
func (*FakeProvider) ClientReturns ¶
func (fake *FakeProvider) ClientReturns(result1 *http.Client)
func (*FakeProvider) ExchangeArgsForCall ¶
func (fake *FakeProvider) ExchangeArgsForCall(i int) (context.Context, string)
func (*FakeProvider) ExchangeCallCount ¶
func (fake *FakeProvider) ExchangeCallCount() int
func (*FakeProvider) ExchangeReturns ¶
func (fake *FakeProvider) ExchangeReturns(result1 *oauth2.Token, result2 error)
func (*FakeProvider) Invocations ¶
func (fake *FakeProvider) Invocations() map[string][][]interface{}
func (*FakeProvider) PreTokenClient ¶
func (fake *FakeProvider) PreTokenClient() (*http.Client, error)
func (*FakeProvider) PreTokenClientCallCount ¶
func (fake *FakeProvider) PreTokenClientCallCount() int
func (*FakeProvider) PreTokenClientReturns ¶
func (fake *FakeProvider) PreTokenClientReturns(result1 *http.Client, result2 error)
func (*FakeProvider) VerifyArgsForCall ¶
func (*FakeProvider) VerifyCallCount ¶
func (fake *FakeProvider) VerifyCallCount() int
func (*FakeProvider) VerifyReturns ¶
func (fake *FakeProvider) VerifyReturns(result1 bool, result2 error)
type FakeVerifier ¶
type FakeVerifier struct { VerifyStub func(lager.Logger, *http.Client) (bool, error) // contains filtered or unexported fields }
func (*FakeVerifier) Invocations ¶
func (fake *FakeVerifier) Invocations() map[string][][]interface{}
func (*FakeVerifier) VerifyArgsForCall ¶
func (*FakeVerifier) VerifyCallCount ¶
func (fake *FakeVerifier) VerifyCallCount() int
func (*FakeVerifier) VerifyReturns ¶
func (fake *FakeVerifier) VerifyReturns(result1 bool, result2 error)
Click to show internal directories.
Click to hide internal directories.