Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator is an autogenerated mock type for the Authenticator type
func NewAuthenticator ¶
func NewAuthenticator(t interface { mock.TestingT Cleanup(func()) }) *Authenticator
NewAuthenticator creates a new instance of Authenticator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Authenticator) Callback ¶
func (_m *Authenticator) Callback(_a0 func(interface{}) (*jwt.TokenDetails, errors.Error)) http.HandlerFunc
Callback provides a mock function with given fields: _a0
func (*Authenticator) GetTokenByUserID ¶ added in v1.0.26
GetTokenByUserID provides a mock function with given fields: userId
func (*Authenticator) RequestAuth ¶
func (_m *Authenticator) RequestAuth() http.HandlerFunc
RequestAuth provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.