uaafakes

package
v6.23.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuthenticationStore

type FakeAuthenticationStore struct {
	UAAOAuthClientStub func() string

	UAAOAuthClientSecretStub func() string

	AccessTokenStub func() string

	RefreshTokenStub func() string

	SetAccessTokenStub func(token string)

	SetRefreshTokenStub func(token string)
	// contains filtered or unexported fields
}

func (*FakeAuthenticationStore) AccessToken

func (fake *FakeAuthenticationStore) AccessToken() string

func (*FakeAuthenticationStore) AccessTokenCallCount

func (fake *FakeAuthenticationStore) AccessTokenCallCount() int

func (*FakeAuthenticationStore) AccessTokenReturns

func (fake *FakeAuthenticationStore) AccessTokenReturns(result1 string)

func (*FakeAuthenticationStore) Invocations

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

func (*FakeAuthenticationStore) RefreshToken

func (fake *FakeAuthenticationStore) RefreshToken() string

func (*FakeAuthenticationStore) RefreshTokenCallCount

func (fake *FakeAuthenticationStore) RefreshTokenCallCount() int

func (*FakeAuthenticationStore) RefreshTokenReturns

func (fake *FakeAuthenticationStore) RefreshTokenReturns(result1 string)

func (*FakeAuthenticationStore) SetAccessToken

func (fake *FakeAuthenticationStore) SetAccessToken(token string)

func (*FakeAuthenticationStore) SetAccessTokenArgsForCall

func (fake *FakeAuthenticationStore) SetAccessTokenArgsForCall(i int) string

func (*FakeAuthenticationStore) SetAccessTokenCallCount

func (fake *FakeAuthenticationStore) SetAccessTokenCallCount() int

func (*FakeAuthenticationStore) SetRefreshToken

func (fake *FakeAuthenticationStore) SetRefreshToken(token string)

func (*FakeAuthenticationStore) SetRefreshTokenArgsForCall

func (fake *FakeAuthenticationStore) SetRefreshTokenArgsForCall(i int) string

func (*FakeAuthenticationStore) SetRefreshTokenCallCount

func (fake *FakeAuthenticationStore) SetRefreshTokenCallCount() int

func (*FakeAuthenticationStore) UAAOAuthClient

func (fake *FakeAuthenticationStore) UAAOAuthClient() string

func (*FakeAuthenticationStore) UAAOAuthClientCallCount

func (fake *FakeAuthenticationStore) UAAOAuthClientCallCount() int

func (*FakeAuthenticationStore) UAAOAuthClientReturns

func (fake *FakeAuthenticationStore) UAAOAuthClientReturns(result1 string)

func (*FakeAuthenticationStore) UAAOAuthClientSecret

func (fake *FakeAuthenticationStore) UAAOAuthClientSecret() string

func (*FakeAuthenticationStore) UAAOAuthClientSecretCallCount

func (fake *FakeAuthenticationStore) UAAOAuthClientSecretCallCount() int

func (*FakeAuthenticationStore) UAAOAuthClientSecretReturns

func (fake *FakeAuthenticationStore) UAAOAuthClientSecretReturns(result1 string)

type FakeConnection

type FakeConnection struct {
	MakeStub func(request *http.Request, passedResponse *uaa.Response) error
	// contains filtered or unexported fields
}

func (*FakeConnection) Invocations

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

func (*FakeConnection) Make

func (fake *FakeConnection) Make(request *http.Request, passedResponse *uaa.Response) error

func (*FakeConnection) MakeArgsForCall

func (fake *FakeConnection) MakeArgsForCall(i int) (*http.Request, *uaa.Response)

func (*FakeConnection) MakeCallCount

func (fake *FakeConnection) MakeCallCount() int

func (*FakeConnection) MakeReturns

func (fake *FakeConnection) MakeReturns(result1 error)

type FakeConnectionWrapper

type FakeConnectionWrapper struct {
	MakeStub func(request *http.Request, passedResponse *uaa.Response) error

	WrapStub func(innerconnection uaa.Connection) uaa.Connection
	// contains filtered or unexported fields
}

func (*FakeConnectionWrapper) Invocations

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

func (*FakeConnectionWrapper) Make

func (fake *FakeConnectionWrapper) Make(request *http.Request, passedResponse *uaa.Response) error

func (*FakeConnectionWrapper) MakeArgsForCall

func (fake *FakeConnectionWrapper) MakeArgsForCall(i int) (*http.Request, *uaa.Response)

func (*FakeConnectionWrapper) MakeCallCount

func (fake *FakeConnectionWrapper) MakeCallCount() int

func (*FakeConnectionWrapper) MakeReturns

func (fake *FakeConnectionWrapper) MakeReturns(result1 error)

func (*FakeConnectionWrapper) Wrap

func (fake *FakeConnectionWrapper) Wrap(innerconnection uaa.Connection) uaa.Connection

func (*FakeConnectionWrapper) WrapArgsForCall

func (fake *FakeConnectionWrapper) WrapArgsForCall(i int) uaa.Connection

func (*FakeConnectionWrapper) WrapCallCount

func (fake *FakeConnectionWrapper) WrapCallCount() int

func (*FakeConnectionWrapper) WrapReturns

func (fake *FakeConnectionWrapper) WrapReturns(result1 uaa.Connection)

Jump to

Keyboard shortcuts

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