Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionalLogoutHandler ¶
ConditionalLogoutHandler is an autogenerated mock type for the ConditionalLogoutHandler type
func NewConditionalLogoutHandler ¶
func NewConditionalLogoutHandler(t mockConstructorTestingTNewConditionalLogoutHandler) *ConditionalLogoutHandler
NewConditionalLogoutHandler creates a new instance of ConditionalLogoutHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConditionalLogoutHandler) ShouldLogout ¶
func (_m *ConditionalLogoutHandler) ShouldLogout(_a0 context.Context, _a1 *http.Request, _a2 http.ResponseWriter, _a3 security.Authentication) error
ShouldLogout provides a mock function with given fields: _a0, _a1, _a2, _a3
type LogoutHandler ¶
LogoutHandler is an autogenerated mock type for the LogoutHandler type
func NewLogoutHandler ¶
func NewLogoutHandler(t mockConstructorTestingTNewLogoutHandler) *LogoutHandler
NewLogoutHandler creates a new instance of LogoutHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LogoutHandler) HandleLogout ¶
func (_m *LogoutHandler) HandleLogout(_a0 context.Context, _a1 *http.Request, _a2 http.ResponseWriter, _a3 security.Authentication) error
HandleLogout provides a mock function with given fields: _a0, _a1, _a2, _a3