uaafakes

package
v2.0.40 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAccessToken

type FakeAccessToken struct {
	TypeStub func() string

	ValueStub func() string

	RefreshTokenStub func() uaa.Token

	RefreshStub func() (uaa.AccessToken, error)
	// contains filtered or unexported fields
}

func (*FakeAccessToken) Invocations

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

func (*FakeAccessToken) Refresh

func (fake *FakeAccessToken) Refresh() (uaa.AccessToken, error)

func (*FakeAccessToken) RefreshCallCount

func (fake *FakeAccessToken) RefreshCallCount() int

func (*FakeAccessToken) RefreshReturns

func (fake *FakeAccessToken) RefreshReturns(result1 uaa.AccessToken, result2 error)

func (*FakeAccessToken) RefreshReturnsOnCall added in v2.0.30

func (fake *FakeAccessToken) RefreshReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)

func (*FakeAccessToken) RefreshToken

func (fake *FakeAccessToken) RefreshToken() uaa.Token

func (*FakeAccessToken) RefreshTokenCallCount

func (fake *FakeAccessToken) RefreshTokenCallCount() int

func (*FakeAccessToken) RefreshTokenReturns

func (fake *FakeAccessToken) RefreshTokenReturns(result1 uaa.Token)

func (*FakeAccessToken) RefreshTokenReturnsOnCall added in v2.0.30

func (fake *FakeAccessToken) RefreshTokenReturnsOnCall(i int, result1 uaa.Token)

func (*FakeAccessToken) Type

func (fake *FakeAccessToken) Type() string

func (*FakeAccessToken) TypeCallCount

func (fake *FakeAccessToken) TypeCallCount() int

func (*FakeAccessToken) TypeReturns

func (fake *FakeAccessToken) TypeReturns(result1 string)

func (*FakeAccessToken) TypeReturnsOnCall added in v2.0.30

func (fake *FakeAccessToken) TypeReturnsOnCall(i int, result1 string)

func (*FakeAccessToken) Value

func (fake *FakeAccessToken) Value() string

func (*FakeAccessToken) ValueCallCount

func (fake *FakeAccessToken) ValueCallCount() int

func (*FakeAccessToken) ValueReturns

func (fake *FakeAccessToken) ValueReturns(result1 string)

func (*FakeAccessToken) ValueReturnsOnCall added in v2.0.30

func (fake *FakeAccessToken) ValueReturnsOnCall(i int, result1 string)

type FakeToken

type FakeToken struct {
	TypeStub func() string

	ValueStub func() string
	// contains filtered or unexported fields
}

func (*FakeToken) Invocations

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

func (*FakeToken) Type

func (fake *FakeToken) Type() string

func (*FakeToken) TypeCallCount

func (fake *FakeToken) TypeCallCount() int

func (*FakeToken) TypeReturns

func (fake *FakeToken) TypeReturns(result1 string)

func (*FakeToken) TypeReturnsOnCall added in v2.0.30

func (fake *FakeToken) TypeReturnsOnCall(i int, result1 string)

func (*FakeToken) Value

func (fake *FakeToken) Value() string

func (*FakeToken) ValueCallCount

func (fake *FakeToken) ValueCallCount() int

func (*FakeToken) ValueReturns

func (fake *FakeToken) ValueReturns(result1 string)

func (*FakeToken) ValueReturnsOnCall added in v2.0.30

func (fake *FakeToken) ValueReturnsOnCall(i int, result1 string)

type FakeUAA

type FakeUAA struct {
	NewStaleAccessTokenStub func(refreshValue string) uaa.StaleAccessToken

	PromptsStub func() ([]uaa.Prompt, error)

	ClientCredentialsGrantStub func() (uaa.Token, error)

	OwnerPasswordCredentialsGrantStub func([]uaa.PromptAnswer) (uaa.AccessToken, error)
	// contains filtered or unexported fields
}

func (*FakeUAA) ClientCredentialsGrant

func (fake *FakeUAA) ClientCredentialsGrant() (uaa.Token, error)

func (*FakeUAA) ClientCredentialsGrantCallCount

func (fake *FakeUAA) ClientCredentialsGrantCallCount() int

func (*FakeUAA) ClientCredentialsGrantReturns

func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.Token, result2 error)

func (*FakeUAA) ClientCredentialsGrantReturnsOnCall added in v2.0.30

func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.Token, result2 error)

func (*FakeUAA) Invocations

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

func (*FakeUAA) NewStaleAccessToken

func (fake *FakeUAA) NewStaleAccessToken(refreshValue string) uaa.StaleAccessToken

func (*FakeUAA) NewStaleAccessTokenArgsForCall

func (fake *FakeUAA) NewStaleAccessTokenArgsForCall(i int) string

func (*FakeUAA) NewStaleAccessTokenCallCount

func (fake *FakeUAA) NewStaleAccessTokenCallCount() int

func (*FakeUAA) NewStaleAccessTokenReturns

func (fake *FakeUAA) NewStaleAccessTokenReturns(result1 uaa.StaleAccessToken)

func (*FakeUAA) NewStaleAccessTokenReturnsOnCall added in v2.0.30

func (fake *FakeUAA) NewStaleAccessTokenReturnsOnCall(i int, result1 uaa.StaleAccessToken)

func (*FakeUAA) OwnerPasswordCredentialsGrant

func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.PromptAnswer) (uaa.AccessToken, error)

func (*FakeUAA) OwnerPasswordCredentialsGrantArgsForCall

func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.PromptAnswer

func (*FakeUAA) OwnerPasswordCredentialsGrantCallCount

func (fake *FakeUAA) OwnerPasswordCredentialsGrantCallCount() int

func (*FakeUAA) OwnerPasswordCredentialsGrantReturns

func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)

func (*FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall added in v2.0.30

func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)

func (*FakeUAA) Prompts

func (fake *FakeUAA) Prompts() ([]uaa.Prompt, error)

func (*FakeUAA) PromptsCallCount

func (fake *FakeUAA) PromptsCallCount() int

func (*FakeUAA) PromptsReturns

func (fake *FakeUAA) PromptsReturns(result1 []uaa.Prompt, result2 error)

func (*FakeUAA) PromptsReturnsOnCall added in v2.0.30

func (fake *FakeUAA) PromptsReturnsOnCall(i int, result1 []uaa.Prompt, result2 error)

Jump to

Keyboard shortcuts

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