Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeSigningMethod
- func (fake *FakeSigningMethod) Alg() string
- func (fake *FakeSigningMethod) AlgCallCount() int
- func (fake *FakeSigningMethod) AlgReturns(result1 string)
- func (fake *FakeSigningMethod) Sign(signingString string, key interface{}) (string, error)
- func (fake *FakeSigningMethod) SignArgsForCall(i int) (string, interface{})
- func (fake *FakeSigningMethod) SignCallCount() int
- func (fake *FakeSigningMethod) SignReturns(result1 string, result2 error)
- func (fake *FakeSigningMethod) Verify(signingString string, signature string, key interface{}) error
- func (fake *FakeSigningMethod) VerifyArgsForCall(i int) (string, string, interface{})
- func (fake *FakeSigningMethod) VerifyCallCount() int
- func (fake *FakeSigningMethod) VerifyReturns(result1 error)
- type FakeTokenValidator
- func (fake *FakeTokenValidator) CheckPublicToken() error
- func (fake *FakeTokenValidator) CheckPublicTokenCallCount() int
- func (fake *FakeTokenValidator) CheckPublicTokenReturns(result1 error)
- func (fake *FakeTokenValidator) DecodeToken(userToken string, desiredPermissions ...string) error
- func (fake *FakeTokenValidator) DecodeTokenArgsForCall(i int) (string, []string)
- func (fake *FakeTokenValidator) DecodeTokenCallCount() int
- func (fake *FakeTokenValidator) DecodeTokenReturns(result1 error)
- type FakeUaaKeyFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSigningMethod ¶
type FakeSigningMethod struct { VerifyStub func(signingString, signature string, key interface{}) error SignStub func(signingString string, key interface{}) (string, error) AlgStub func() string // contains filtered or unexported fields }
func (*FakeSigningMethod) Alg ¶
func (fake *FakeSigningMethod) Alg() string
func (*FakeSigningMethod) AlgCallCount ¶
func (fake *FakeSigningMethod) AlgCallCount() int
func (*FakeSigningMethod) AlgReturns ¶
func (fake *FakeSigningMethod) AlgReturns(result1 string)
func (*FakeSigningMethod) Sign ¶
func (fake *FakeSigningMethod) Sign(signingString string, key interface{}) (string, error)
func (*FakeSigningMethod) SignArgsForCall ¶
func (fake *FakeSigningMethod) SignArgsForCall(i int) (string, interface{})
func (*FakeSigningMethod) SignCallCount ¶
func (fake *FakeSigningMethod) SignCallCount() int
func (*FakeSigningMethod) SignReturns ¶
func (fake *FakeSigningMethod) SignReturns(result1 string, result2 error)
func (*FakeSigningMethod) Verify ¶
func (fake *FakeSigningMethod) Verify(signingString string, signature string, key interface{}) error
func (*FakeSigningMethod) VerifyArgsForCall ¶
func (fake *FakeSigningMethod) VerifyArgsForCall(i int) (string, string, interface{})
func (*FakeSigningMethod) VerifyCallCount ¶
func (fake *FakeSigningMethod) VerifyCallCount() int
func (*FakeSigningMethod) VerifyReturns ¶
func (fake *FakeSigningMethod) VerifyReturns(result1 error)
type FakeTokenValidator ¶
type FakeTokenValidator struct { DecodeTokenStub func(userToken string, desiredPermissions ...string) error CheckPublicTokenStub func() error // contains filtered or unexported fields }
func (*FakeTokenValidator) CheckPublicToken ¶
func (fake *FakeTokenValidator) CheckPublicToken() error
func (*FakeTokenValidator) CheckPublicTokenCallCount ¶
func (fake *FakeTokenValidator) CheckPublicTokenCallCount() int
func (*FakeTokenValidator) CheckPublicTokenReturns ¶
func (fake *FakeTokenValidator) CheckPublicTokenReturns(result1 error)
func (*FakeTokenValidator) DecodeToken ¶
func (fake *FakeTokenValidator) DecodeToken(userToken string, desiredPermissions ...string) error
func (*FakeTokenValidator) DecodeTokenArgsForCall ¶
func (fake *FakeTokenValidator) DecodeTokenArgsForCall(i int) (string, []string)
func (*FakeTokenValidator) DecodeTokenCallCount ¶
func (fake *FakeTokenValidator) DecodeTokenCallCount() int
func (*FakeTokenValidator) DecodeTokenReturns ¶
func (fake *FakeTokenValidator) DecodeTokenReturns(result1 error)
type FakeUaaKeyFetcher ¶
type FakeUaaKeyFetcher struct { FetchKeyStub func() (string, error) // contains filtered or unexported fields }
func (*FakeUaaKeyFetcher) FetchKey ¶
func (fake *FakeUaaKeyFetcher) FetchKey() (string, error)
func (*FakeUaaKeyFetcher) FetchKeyCallCount ¶
func (fake *FakeUaaKeyFetcher) FetchKeyCallCount() int
func (*FakeUaaKeyFetcher) FetchKeyReturns ¶
func (fake *FakeUaaKeyFetcher) FetchKeyReturns(result1 string, result2 error)
Click to show internal directories.
Click to hide internal directories.