fakes

package
v6.16.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

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)

Jump to

Keyboard shortcuts

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