Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeTokenCache
- func (fake *FakeTokenCache) Invocations() map[string][][]interface{}
- func (fake *FakeTokenCache) RefreshToken() string
- func (fake *FakeTokenCache) RefreshTokenCallCount() int
- func (fake *FakeTokenCache) RefreshTokenReturns(result1 string)
- func (fake *FakeTokenCache) SetAccessToken(token string)
- func (fake *FakeTokenCache) SetAccessTokenArgsForCall(i int) string
- func (fake *FakeTokenCache) SetAccessTokenCallCount() int
- func (fake *FakeTokenCache) SetRefreshToken(token string)
- func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string
- func (fake *FakeTokenCache) SetRefreshTokenCallCount() int
- type FakeUAAClient
- func (fake *FakeUAAClient) Invocations() map[string][][]interface{}
- func (fake *FakeUAAClient) RefreshAccessToken(refreshToken string) (uaa.RefreshToken, error)
- func (fake *FakeUAAClient) RefreshAccessTokenArgsForCall(i int) string
- func (fake *FakeUAAClient) RefreshAccessTokenCallCount() int
- func (fake *FakeUAAClient) RefreshAccessTokenReturns(result1 uaa.RefreshToken, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTokenCache ¶
type FakeTokenCache struct { RefreshTokenStub func() string SetAccessTokenStub func(token string) SetRefreshTokenStub func(token string) // contains filtered or unexported fields }
func (*FakeTokenCache) Invocations ¶
func (fake *FakeTokenCache) Invocations() map[string][][]interface{}
func (*FakeTokenCache) RefreshToken ¶
func (fake *FakeTokenCache) RefreshToken() string
func (*FakeTokenCache) RefreshTokenCallCount ¶
func (fake *FakeTokenCache) RefreshTokenCallCount() int
func (*FakeTokenCache) RefreshTokenReturns ¶
func (fake *FakeTokenCache) RefreshTokenReturns(result1 string)
func (*FakeTokenCache) SetAccessToken ¶
func (fake *FakeTokenCache) SetAccessToken(token string)
func (*FakeTokenCache) SetAccessTokenArgsForCall ¶
func (fake *FakeTokenCache) SetAccessTokenArgsForCall(i int) string
func (*FakeTokenCache) SetAccessTokenCallCount ¶
func (fake *FakeTokenCache) SetAccessTokenCallCount() int
func (*FakeTokenCache) SetRefreshToken ¶
func (fake *FakeTokenCache) SetRefreshToken(token string)
func (*FakeTokenCache) SetRefreshTokenArgsForCall ¶
func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string
func (*FakeTokenCache) SetRefreshTokenCallCount ¶
func (fake *FakeTokenCache) SetRefreshTokenCallCount() int
type FakeUAAClient ¶
type FakeUAAClient struct { RefreshAccessTokenStub func(refreshToken string) (uaa.RefreshToken, error) // contains filtered or unexported fields }
func (*FakeUAAClient) Invocations ¶
func (fake *FakeUAAClient) Invocations() map[string][][]interface{}
func (*FakeUAAClient) RefreshAccessToken ¶
func (fake *FakeUAAClient) RefreshAccessToken(refreshToken string) (uaa.RefreshToken, error)
func (*FakeUAAClient) RefreshAccessTokenArgsForCall ¶
func (fake *FakeUAAClient) RefreshAccessTokenArgsForCall(i int) string
func (*FakeUAAClient) RefreshAccessTokenCallCount ¶
func (fake *FakeUAAClient) RefreshAccessTokenCallCount() int
func (*FakeUAAClient) RefreshAccessTokenReturns ¶
func (fake *FakeUAAClient) RefreshAccessTokenReturns(result1 uaa.RefreshToken, result2 error)
Click to show internal directories.
Click to hide internal directories.