authenticationfakes

package
v6.44.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRepository

type FakeRepository struct {
	AuthenticateStub func(map[string]string) error

	AuthorizeStub func(string) (string, error)

	DumpRequestStub func(*http.Request)

	DumpResponseStub func(*http.Response)

	GetLoginPromptsAndSaveUAAServerURLStub func() (map[string]coreconfig.AuthPrompt, error)

	RefreshAuthTokenStub func() (string, error)

	RefreshTokenStub func(string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeRepository) Authenticate

func (fake *FakeRepository) Authenticate(arg1 map[string]string) error

func (*FakeRepository) AuthenticateArgsForCall

func (fake *FakeRepository) AuthenticateArgsForCall(i int) map[string]string

func (*FakeRepository) AuthenticateCallCount

func (fake *FakeRepository) AuthenticateCallCount() int

func (*FakeRepository) AuthenticateCalls

func (fake *FakeRepository) AuthenticateCalls(stub func(map[string]string) error)

func (*FakeRepository) AuthenticateReturns

func (fake *FakeRepository) AuthenticateReturns(result1 error)

func (*FakeRepository) AuthenticateReturnsOnCall

func (fake *FakeRepository) AuthenticateReturnsOnCall(i int, result1 error)

func (*FakeRepository) Authorize

func (fake *FakeRepository) Authorize(arg1 string) (string, error)

func (*FakeRepository) AuthorizeArgsForCall

func (fake *FakeRepository) AuthorizeArgsForCall(i int) string

func (*FakeRepository) AuthorizeCallCount

func (fake *FakeRepository) AuthorizeCallCount() int

func (*FakeRepository) AuthorizeCalls

func (fake *FakeRepository) AuthorizeCalls(stub func(string) (string, error))

func (*FakeRepository) AuthorizeReturns

func (fake *FakeRepository) AuthorizeReturns(result1 string, result2 error)

func (*FakeRepository) AuthorizeReturnsOnCall

func (fake *FakeRepository) AuthorizeReturnsOnCall(i int, result1 string, result2 error)

func (*FakeRepository) DumpRequest

func (fake *FakeRepository) DumpRequest(arg1 *http.Request)

func (*FakeRepository) DumpRequestArgsForCall

func (fake *FakeRepository) DumpRequestArgsForCall(i int) *http.Request

func (*FakeRepository) DumpRequestCallCount

func (fake *FakeRepository) DumpRequestCallCount() int

func (*FakeRepository) DumpRequestCalls

func (fake *FakeRepository) DumpRequestCalls(stub func(*http.Request))

func (*FakeRepository) DumpResponse

func (fake *FakeRepository) DumpResponse(arg1 *http.Response)

func (*FakeRepository) DumpResponseArgsForCall

func (fake *FakeRepository) DumpResponseArgsForCall(i int) *http.Response

func (*FakeRepository) DumpResponseCallCount

func (fake *FakeRepository) DumpResponseCallCount() int

func (*FakeRepository) DumpResponseCalls

func (fake *FakeRepository) DumpResponseCalls(stub func(*http.Response))

func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURL

func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURL() (map[string]coreconfig.AuthPrompt, error)

func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURLCallCount

func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int

func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURLCalls

func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLCalls(stub func() (map[string]coreconfig.AuthPrompt, error))

func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturns

func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]coreconfig.AuthPrompt, result2 error)

func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturnsOnCall

func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturnsOnCall(i int, result1 map[string]coreconfig.AuthPrompt, result2 error)

func (*FakeRepository) Invocations

func (fake *FakeRepository) Invocations() map[string][][]interface{}

func (*FakeRepository) RefreshAuthToken

func (fake *FakeRepository) RefreshAuthToken() (string, error)

func (*FakeRepository) RefreshAuthTokenCallCount

func (fake *FakeRepository) RefreshAuthTokenCallCount() int

func (*FakeRepository) RefreshAuthTokenCalls

func (fake *FakeRepository) RefreshAuthTokenCalls(stub func() (string, error))

func (*FakeRepository) RefreshAuthTokenReturns

func (fake *FakeRepository) RefreshAuthTokenReturns(result1 string, result2 error)

func (*FakeRepository) RefreshAuthTokenReturnsOnCall

func (fake *FakeRepository) RefreshAuthTokenReturnsOnCall(i int, result1 string, result2 error)

func (*FakeRepository) RefreshToken

func (fake *FakeRepository) RefreshToken(arg1 string) (string, error)

func (*FakeRepository) RefreshTokenArgsForCall

func (fake *FakeRepository) RefreshTokenArgsForCall(i int) string

func (*FakeRepository) RefreshTokenCallCount

func (fake *FakeRepository) RefreshTokenCallCount() int

func (*FakeRepository) RefreshTokenCalls

func (fake *FakeRepository) RefreshTokenCalls(stub func(string) (string, error))

func (*FakeRepository) RefreshTokenReturns

func (fake *FakeRepository) RefreshTokenReturns(result1 string, result2 error)

func (*FakeRepository) RefreshTokenReturnsOnCall

func (fake *FakeRepository) RefreshTokenReturnsOnCall(i int, result1 string, result2 error)

type FakeTokenRefresher

type FakeTokenRefresher struct {
	RefreshAuthTokenStub func() (updatedToken string, apiErr error)
	// contains filtered or unexported fields
}

func (*FakeTokenRefresher) Invocations

func (fake *FakeTokenRefresher) Invocations() map[string][][]interface{}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL