Documentation ¶
Overview ¶
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) GetLoginPromptsAndSaveUAAServerURL() (map[string]core_config.AuthPrompt, error)
- func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int
- func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]core_config.AuthPrompt, result2 error)
- func (fake *FakeAuthenticationRepository) RefreshAuthToken() (updatedToken string, apiErr error)
- func (fake *FakeAuthenticationRepository) RefreshAuthTokenCallCount() int
- func (fake *FakeAuthenticationRepository) RefreshAuthTokenReturns(result1 string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticationRepository ¶
type FakeAuthenticationRepository struct { RefreshAuthTokenStub func() (updatedToken string, apiErr error) AuthenticateStub func(credentials map[string]string) (apiErr error) AuthorizeStub func(token string) (string, error) GetLoginPromptsAndSaveUAAServerURLStub func() (map[string]core_config.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) GetLoginPromptsAndSaveUAAServerURL ¶
func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURL() (map[string]core_config.AuthPrompt, error)
func (*FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLCallCount ¶
func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int
func (*FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLReturns ¶
func (fake *FakeAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]core_config.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)
Click to show internal directories.
Click to hide internal directories.