Documentation
¶
Overview ¶
Package e2ehooks provides utilities for end-to-end testing of hooks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSuccess ¶
Types ¶
type Hook ¶
type Hook struct {
// contains filtered or unexported fields
}
func (*Hook) ClearCalls ¶
func (o *Hook) ClearCalls()
func (*Hook) SetHandler ¶
type HookRecorder ¶
type HookRecorder struct {
BeforeUserCreated *Hook
AfterUserCreated *Hook
CustomizeAccessToken *Hook
MFAVerification *Hook
PasswordVerification *Hook
SendEmail *Hook
SendSMS *Hook
// contains filtered or unexported fields
}
func NewHookRecorder ¶
func NewHookRecorder() *HookRecorder
func (*HookRecorder) Register ¶
func (o *HookRecorder) Register( hookCfg *conf.HookConfiguration, baseURL string, )
func (*HookRecorder) ServeHTTP ¶
func (o *HookRecorder) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.