Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeTokenFetcher
- func (fake *FakeTokenFetcher) FetchKey() (*uaa.JWK, error)
- func (fake *FakeTokenFetcher) FetchKeyCallCount() int
- func (fake *FakeTokenFetcher) FetchKeyCalls(stub func() (*uaa.JWK, error))
- func (fake *FakeTokenFetcher) FetchKeyReturns(result1 *uaa.JWK, result2 error)
- func (fake *FakeTokenFetcher) FetchKeyReturnsOnCall(i int, result1 *uaa.JWK, result2 error)
- func (fake *FakeTokenFetcher) FetchToken(arg1 context.Context, arg2 bool) (*oauth2.Token, error)
- func (fake *FakeTokenFetcher) FetchTokenArgsForCall(i int) (context.Context, bool)
- func (fake *FakeTokenFetcher) FetchTokenCallCount() int
- func (fake *FakeTokenFetcher) FetchTokenCalls(stub func(context.Context, bool) (*oauth2.Token, error))
- func (fake *FakeTokenFetcher) FetchTokenReturns(result1 *oauth2.Token, result2 error)
- func (fake *FakeTokenFetcher) FetchTokenReturnsOnCall(i int, result1 *oauth2.Token, result2 error)
- func (fake *FakeTokenFetcher) Invocations() map[string][][]interface{}
- type FakeTokenValidator
- func (fake *FakeTokenValidator) Invocations() map[string][][]interface{}
- func (fake *FakeTokenValidator) ValidateToken(arg1 string, arg2 ...string) error
- func (fake *FakeTokenValidator) ValidateTokenArgsForCall(i int) (string, []string)
- func (fake *FakeTokenValidator) ValidateTokenCallCount() int
- func (fake *FakeTokenValidator) ValidateTokenCalls(stub func(string, ...string) error)
- func (fake *FakeTokenValidator) ValidateTokenReturns(result1 error)
- func (fake *FakeTokenValidator) ValidateTokenReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTokenFetcher ¶
type FakeTokenFetcher struct { FetchKeyStub func() (*uaa.JWK, error) FetchTokenStub func(context.Context, bool) (*oauth2.Token, error) // contains filtered or unexported fields }
func (*FakeTokenFetcher) FetchKeyCallCount ¶
func (fake *FakeTokenFetcher) FetchKeyCallCount() int
func (*FakeTokenFetcher) FetchKeyCalls ¶
func (fake *FakeTokenFetcher) FetchKeyCalls(stub func() (*uaa.JWK, error))
func (*FakeTokenFetcher) FetchKeyReturns ¶
func (fake *FakeTokenFetcher) FetchKeyReturns(result1 *uaa.JWK, result2 error)
func (*FakeTokenFetcher) FetchKeyReturnsOnCall ¶
func (fake *FakeTokenFetcher) FetchKeyReturnsOnCall(i int, result1 *uaa.JWK, result2 error)
func (*FakeTokenFetcher) FetchToken ¶
func (*FakeTokenFetcher) FetchTokenArgsForCall ¶
func (fake *FakeTokenFetcher) FetchTokenArgsForCall(i int) (context.Context, bool)
func (*FakeTokenFetcher) FetchTokenCallCount ¶
func (fake *FakeTokenFetcher) FetchTokenCallCount() int
func (*FakeTokenFetcher) FetchTokenCalls ¶
func (*FakeTokenFetcher) FetchTokenReturns ¶
func (fake *FakeTokenFetcher) FetchTokenReturns(result1 *oauth2.Token, result2 error)
func (*FakeTokenFetcher) FetchTokenReturnsOnCall ¶
func (fake *FakeTokenFetcher) FetchTokenReturnsOnCall(i int, result1 *oauth2.Token, result2 error)
func (*FakeTokenFetcher) Invocations ¶
func (fake *FakeTokenFetcher) Invocations() map[string][][]interface{}
type FakeTokenValidator ¶
type FakeTokenValidator struct { ValidateTokenStub func(string, ...string) error // contains filtered or unexported fields }
func (*FakeTokenValidator) Invocations ¶
func (fake *FakeTokenValidator) Invocations() map[string][][]interface{}
func (*FakeTokenValidator) ValidateToken ¶
func (fake *FakeTokenValidator) ValidateToken(arg1 string, arg2 ...string) error
func (*FakeTokenValidator) ValidateTokenArgsForCall ¶
func (fake *FakeTokenValidator) ValidateTokenArgsForCall(i int) (string, []string)
func (*FakeTokenValidator) ValidateTokenCallCount ¶
func (fake *FakeTokenValidator) ValidateTokenCallCount() int
func (*FakeTokenValidator) ValidateTokenCalls ¶
func (fake *FakeTokenValidator) ValidateTokenCalls(stub func(string, ...string) error)
func (*FakeTokenValidator) ValidateTokenReturns ¶
func (fake *FakeTokenValidator) ValidateTokenReturns(result1 error)
func (*FakeTokenValidator) ValidateTokenReturnsOnCall ¶
func (fake *FakeTokenValidator) ValidateTokenReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.