Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeAccessToken
- func (fake *FakeAccessToken) Refresh() (uaa.AccessToken, error)
- func (fake *FakeAccessToken) RefreshCallCount() int
- func (fake *FakeAccessToken) RefreshReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeAccessToken) RefreshToken() uaa.Token
- func (fake *FakeAccessToken) RefreshTokenCallCount() int
- func (fake *FakeAccessToken) RefreshTokenReturns(result1 uaa.Token)
- func (fake *FakeAccessToken) Type() string
- func (fake *FakeAccessToken) TypeCallCount() int
- func (fake *FakeAccessToken) TypeReturns(result1 string)
- func (fake *FakeAccessToken) Value() string
- func (fake *FakeAccessToken) ValueCallCount() int
- func (fake *FakeAccessToken) ValueReturns(result1 string)
- type FakeToken
- type FakeUAA
- func (fake *FakeUAA) ClientCredentialsGrant() (uaa.Token, error)
- func (fake *FakeUAA) ClientCredentialsGrantCallCount() int
- func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.Token, result2 error)
- func (fake *FakeUAA) NewStaleAccessToken(refreshValue string) uaa.StaleAccessToken
- func (fake *FakeUAA) NewStaleAccessTokenArgsForCall(i int) string
- func (fake *FakeUAA) NewStaleAccessTokenCallCount() int
- func (fake *FakeUAA) NewStaleAccessTokenReturns(result1 uaa.StaleAccessToken)
- func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.PromptAnswer) (uaa.AccessToken, error)
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.PromptAnswer
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantCallCount() int
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) Prompts() ([]uaa.Prompt, error)
- func (fake *FakeUAA) PromptsCallCount() int
- func (fake *FakeUAA) PromptsReturns(result1 []uaa.Prompt, result2 error)
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) 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) 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) 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) Value ¶
func (fake *FakeAccessToken) Value() string
func (*FakeAccessToken) ValueCallCount ¶
func (fake *FakeAccessToken) ValueCallCount() int
func (*FakeAccessToken) ValueReturns ¶
func (fake *FakeAccessToken) ValueReturns(result1 string)
type FakeToken ¶
type FakeToken struct { TypeStub func() string ValueStub func() string // contains filtered or unexported fields }
func (*FakeToken) TypeCallCount ¶
func (*FakeToken) TypeReturns ¶
func (*FakeToken) ValueCallCount ¶
func (*FakeToken) ValueReturns ¶
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 (*FakeUAA) ClientCredentialsGrantCallCount ¶
func (*FakeUAA) ClientCredentialsGrantReturns ¶
func (*FakeUAA) NewStaleAccessToken ¶
func (fake *FakeUAA) NewStaleAccessToken(refreshValue string) uaa.StaleAccessToken
func (*FakeUAA) NewStaleAccessTokenArgsForCall ¶
func (*FakeUAA) NewStaleAccessTokenCallCount ¶
func (*FakeUAA) NewStaleAccessTokenReturns ¶
func (fake *FakeUAA) NewStaleAccessTokenReturns(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 (*FakeUAA) OwnerPasswordCredentialsGrantReturns ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
func (*FakeUAA) PromptsCallCount ¶
Click to show internal directories.
Click to hide internal directories.