Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuthenticator
- func (fake *FakeAuthenticator) Authenticate(arg1 *httpa.Request) (*web.UserContext, http.Decision, error)
- func (fake *FakeAuthenticator) AuthenticateArgsForCall(i int) *httpa.Request
- func (fake *FakeAuthenticator) AuthenticateCallCount() int
- func (fake *FakeAuthenticator) AuthenticateCalls(stub func(*httpa.Request) (*web.UserContext, http.Decision, error))
- func (fake *FakeAuthenticator) AuthenticateReturns(result1 *web.UserContext, result2 http.Decision, result3 error)
- func (fake *FakeAuthenticator) AuthenticateReturnsOnCall(i int, result1 *web.UserContext, result2 http.Decision, result3 error)
- func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
- type FakeAuthorizer
- func (fake *FakeAuthorizer) Authorize(arg1 *web.Request) (http.Decision, web.AccessLevel, error)
- func (fake *FakeAuthorizer) AuthorizeArgsForCall(i int) *web.Request
- func (fake *FakeAuthorizer) AuthorizeCallCount() int
- func (fake *FakeAuthorizer) AuthorizeCalls(stub func(*web.Request) (http.Decision, web.AccessLevel, error))
- func (fake *FakeAuthorizer) AuthorizeReturns(result1 http.Decision, result2 web.AccessLevel, result3 error)
- func (fake *FakeAuthorizer) AuthorizeReturnsOnCall(i int, result1 http.Decision, result2 web.AccessLevel, result3 error)
- func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
- type FakeTokenData
- func (fake *FakeTokenData) Claims(arg1 interface{}) error
- func (fake *FakeTokenData) ClaimsArgsForCall(i int) interface{}
- func (fake *FakeTokenData) ClaimsCallCount() int
- func (fake *FakeTokenData) ClaimsCalls(stub func(interface{}) error)
- func (fake *FakeTokenData) ClaimsReturns(result1 error)
- func (fake *FakeTokenData) ClaimsReturnsOnCall(i int, result1 error)
- func (fake *FakeTokenData) Invocations() map[string][][]interface{}
- type FakeTokenVerifier
- func (fake *FakeTokenVerifier) Invocations() map[string][][]interface{}
- func (fake *FakeTokenVerifier) Verify(arg1 context.Context, arg2 string) (http.TokenData, error)
- func (fake *FakeTokenVerifier) VerifyArgsForCall(i int) (context.Context, string)
- func (fake *FakeTokenVerifier) VerifyCallCount() int
- func (fake *FakeTokenVerifier) VerifyCalls(stub func(context.Context, string) (http.TokenData, error))
- func (fake *FakeTokenVerifier) VerifyReturns(result1 http.TokenData, result2 error)
- func (fake *FakeTokenVerifier) VerifyReturnsOnCall(i int, result1 http.TokenData, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticator ¶
type FakeAuthenticator struct { AuthenticateStub func(*httpa.Request) (*web.UserContext, http.Decision, error) // contains filtered or unexported fields }
func (*FakeAuthenticator) Authenticate ¶
func (fake *FakeAuthenticator) Authenticate(arg1 *httpa.Request) (*web.UserContext, http.Decision, error)
func (*FakeAuthenticator) AuthenticateArgsForCall ¶
func (fake *FakeAuthenticator) AuthenticateArgsForCall(i int) *httpa.Request
func (*FakeAuthenticator) AuthenticateCallCount ¶
func (fake *FakeAuthenticator) AuthenticateCallCount() int
func (*FakeAuthenticator) AuthenticateCalls ¶
func (fake *FakeAuthenticator) AuthenticateCalls(stub func(*httpa.Request) (*web.UserContext, http.Decision, error))
func (*FakeAuthenticator) AuthenticateReturns ¶
func (fake *FakeAuthenticator) AuthenticateReturns(result1 *web.UserContext, result2 http.Decision, result3 error)
func (*FakeAuthenticator) AuthenticateReturnsOnCall ¶
func (fake *FakeAuthenticator) AuthenticateReturnsOnCall(i int, result1 *web.UserContext, result2 http.Decision, result3 error)
func (*FakeAuthenticator) Invocations ¶
func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
type FakeAuthorizer ¶
type FakeAuthorizer struct { AuthorizeStub func(*web.Request) (http.Decision, web.AccessLevel, error) // contains filtered or unexported fields }
func (*FakeAuthorizer) Authorize ¶
func (fake *FakeAuthorizer) Authorize(arg1 *web.Request) (http.Decision, web.AccessLevel, error)
func (*FakeAuthorizer) AuthorizeArgsForCall ¶
func (fake *FakeAuthorizer) AuthorizeArgsForCall(i int) *web.Request
func (*FakeAuthorizer) AuthorizeCallCount ¶
func (fake *FakeAuthorizer) AuthorizeCallCount() int
func (*FakeAuthorizer) AuthorizeCalls ¶
func (fake *FakeAuthorizer) AuthorizeCalls(stub func(*web.Request) (http.Decision, web.AccessLevel, error))
func (*FakeAuthorizer) AuthorizeReturns ¶
func (fake *FakeAuthorizer) AuthorizeReturns(result1 http.Decision, result2 web.AccessLevel, result3 error)
func (*FakeAuthorizer) AuthorizeReturnsOnCall ¶
func (fake *FakeAuthorizer) AuthorizeReturnsOnCall(i int, result1 http.Decision, result2 web.AccessLevel, result3 error)
func (*FakeAuthorizer) Invocations ¶
func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
type FakeTokenData ¶
type FakeTokenData struct { ClaimsStub func(interface{}) error // contains filtered or unexported fields }
func (*FakeTokenData) Claims ¶
func (fake *FakeTokenData) Claims(arg1 interface{}) error
func (*FakeTokenData) ClaimsArgsForCall ¶
func (fake *FakeTokenData) ClaimsArgsForCall(i int) interface{}
func (*FakeTokenData) ClaimsCallCount ¶
func (fake *FakeTokenData) ClaimsCallCount() int
func (*FakeTokenData) ClaimsCalls ¶
func (fake *FakeTokenData) ClaimsCalls(stub func(interface{}) error)
func (*FakeTokenData) ClaimsReturns ¶
func (fake *FakeTokenData) ClaimsReturns(result1 error)
func (*FakeTokenData) ClaimsReturnsOnCall ¶
func (fake *FakeTokenData) ClaimsReturnsOnCall(i int, result1 error)
func (*FakeTokenData) Invocations ¶
func (fake *FakeTokenData) Invocations() map[string][][]interface{}
type FakeTokenVerifier ¶
type FakeTokenVerifier struct { VerifyStub func(context.Context, string) (http.TokenData, error) // contains filtered or unexported fields }
func (*FakeTokenVerifier) Invocations ¶
func (fake *FakeTokenVerifier) Invocations() map[string][][]interface{}
func (*FakeTokenVerifier) VerifyArgsForCall ¶
func (fake *FakeTokenVerifier) VerifyArgsForCall(i int) (context.Context, string)
func (*FakeTokenVerifier) VerifyCallCount ¶
func (fake *FakeTokenVerifier) VerifyCallCount() int
func (*FakeTokenVerifier) VerifyCalls ¶
func (*FakeTokenVerifier) VerifyReturns ¶
func (fake *FakeTokenVerifier) VerifyReturns(result1 http.TokenData, result2 error)
func (*FakeTokenVerifier) VerifyReturnsOnCall ¶
func (fake *FakeTokenVerifier) VerifyReturnsOnCall(i int, result1 http.TokenData, result2 error)
Click to show internal directories.
Click to hide internal directories.