Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeAuthenticationRepository
- func (fake *FakeAuthenticationRepository) Authenticate(credentials map[string]string) (apiErr error)
- func (fake *FakeAuthenticationRepository) AuthenticateArgsForCall(i int) map[string]string
- func (fake *FakeAuthenticationRepository) AuthenticateCallCount() int
- func (fake *FakeAuthenticationRepository) AuthenticateReturns(result1 error)
- func (fake *FakeAuthenticationRepository) Authorize(token string) (string, error)
- func (fake *FakeAuthenticationRepository) AuthorizeArgsForCall(i int) string
- func (fake *FakeAuthenticationRepository) AuthorizeCallCount() int
- func (fake *FakeAuthenticationRepository) AuthorizeReturns(result1 string, result2 error)
- func (fake *FakeAuthenticationRepository) DumpRequest(arg1 *http.Request)
- func (fake *FakeAuthenticationRepository) DumpRequestArgsForCall(i int) *http.Request
- func (fake *FakeAuthenticationRepository) DumpRequestCallCount() int
- func (fake *FakeAuthenticationRepository) DumpResponse(arg1 *http.Response)
- func (fake *FakeAuthenticationRepository) DumpResponseArgsForCall(i int) *http.Response
- func (fake *FakeAuthenticationRepository) DumpResponseCallCount() int
- func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURL() (map[string]coreconfig.AuthPrompt, error)
- func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int
- func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]coreconfig.AuthPrompt, result2 error)
- func (fake *FakeAuthenticationRepository) RefreshAuthToken() (updatedToken string, apiErr error)
- func (fake *FakeAuthenticationRepository) RefreshAuthTokenCallCount() int
- func (fake *FakeAuthenticationRepository) RefreshAuthTokenReturns(result1 string, result2 error)
- type FakeTokenRefresher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticationRepository ¶
type FakeAuthenticationRepository struct { DumpRequestStub func(*http.Request) DumpResponseStub func(*http.Response) RefreshAuthTokenStub func() (updatedToken string, apiErr error) AuthenticateStub func(credentials map[string]string) (apiErr error) AuthorizeStub func(token string) (string, error) GetLoginPromptsAndSaveUAAServerURLStub func() (map[string]coreconfig.AuthPrompt, error) // contains filtered or unexported fields }
func (*FakeAuthenticationRepository) Authenticate ¶
func (fake *FakeAuthenticationRepository) Authenticate(credentials map[string]string) (apiErr error)
func (*FakeAuthenticationRepository) AuthenticateArgsForCall ¶
func (fake *FakeAuthenticationRepository) AuthenticateArgsForCall(i int) map[string]string
func (*FakeAuthenticationRepository) AuthenticateCallCount ¶
func (fake *FakeAuthenticationRepository) AuthenticateCallCount() int
func (*FakeAuthenticationRepository) AuthenticateReturns ¶
func (fake *FakeAuthenticationRepository) AuthenticateReturns(result1 error)
func (*FakeAuthenticationRepository) Authorize ¶
func (fake *FakeAuthenticationRepository) Authorize(token string) (string, error)
func (*FakeAuthenticationRepository) AuthorizeArgsForCall ¶
func (fake *FakeAuthenticationRepository) AuthorizeArgsForCall(i int) string
func (*FakeAuthenticationRepository) AuthorizeCallCount ¶
func (fake *FakeAuthenticationRepository) AuthorizeCallCount() int
func (*FakeAuthenticationRepository) AuthorizeReturns ¶
func (fake *FakeAuthenticationRepository) AuthorizeReturns(result1 string, result2 error)
func (*FakeAuthenticationRepository) DumpRequest ¶
func (fake *FakeAuthenticationRepository) DumpRequest(arg1 *http.Request)
func (*FakeAuthenticationRepository) DumpRequestArgsForCall ¶
func (fake *FakeAuthenticationRepository) DumpRequestArgsForCall(i int) *http.Request
func (*FakeAuthenticationRepository) DumpRequestCallCount ¶
func (fake *FakeAuthenticationRepository) DumpRequestCallCount() int
func (*FakeAuthenticationRepository) DumpResponse ¶
func (fake *FakeAuthenticationRepository) DumpResponse(arg1 *http.Response)
func (*FakeAuthenticationRepository) DumpResponseArgsForCall ¶
func (fake *FakeAuthenticationRepository) DumpResponseArgsForCall(i int) *http.Response
func (*FakeAuthenticationRepository) DumpResponseCallCount ¶
func (fake *FakeAuthenticationRepository) DumpResponseCallCount() int
func (*FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURL ¶
func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURL() (map[string]coreconfig.AuthPrompt, error)
func (*FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLCallCount ¶
func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int
func (*FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLReturns ¶
func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]coreconfig.AuthPrompt, result2 error)
func (*FakeAuthenticationRepository) RefreshAuthToken ¶
func (fake *FakeAuthenticationRepository) RefreshAuthToken() (updatedToken string, apiErr error)
func (*FakeAuthenticationRepository) RefreshAuthTokenCallCount ¶
func (fake *FakeAuthenticationRepository) RefreshAuthTokenCallCount() int
func (*FakeAuthenticationRepository) RefreshAuthTokenReturns ¶
func (fake *FakeAuthenticationRepository) RefreshAuthTokenReturns(result1 string, result2 error)
type FakeTokenRefresher ¶
type FakeTokenRefresher struct { RefreshAuthTokenStub func() (updatedToken string, apiErr error) // contains filtered or unexported fields }
func (*FakeTokenRefresher) RefreshAuthToken ¶
func (fake *FakeTokenRefresher) RefreshAuthToken() (updatedToken string, apiErr error)
func (*FakeTokenRefresher) RefreshAuthTokenCallCount ¶
func (fake *FakeTokenRefresher) RefreshAuthTokenCallCount() int
func (*FakeTokenRefresher) RefreshAuthTokenReturns ¶
func (fake *FakeTokenRefresher) RefreshAuthTokenReturns(result1 string, result2 error)
Click to show internal directories.
Click to hide internal directories.