Documentation
¶
Index ¶
- type ServiceHookExecutor
- func (e *ServiceHookExecutor) AfterChangePassword(ctx context.Context, user *models.User) error
- func (e *ServiceHookExecutor) AfterEmailChanged(ctx context.Context, user *models.User, oldEmail, newEmail string) error
- func (e *ServiceHookExecutor) AfterSignIn(ctx context.Context, result *types.SignInResult) error
- func (e *ServiceHookExecutor) AfterSignUp(ctx context.Context, result *types.SignUpResult) error
- func (e *ServiceHookExecutor) AfterVerifyEmail(ctx context.Context, user *models.User, ...) error
- func (e *ServiceHookExecutor) BeforeChangePassword(ctx context.Context, user *models.User, newPassword string) error
- func (e *ServiceHookExecutor) BeforeRequestEmailChange(ctx context.Context, user *models.User) error
- func (e *ServiceHookExecutor) BeforeRequestPasswordReset(ctx context.Context, user *models.User) error
- func (e *ServiceHookExecutor) BeforeSignIn(ctx context.Context, user *models.User) error
- func (e *ServiceHookExecutor) BeforeSignUp(ctx context.Context, user *models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceHookExecutor ¶
type ServiceHookExecutor struct {
// contains filtered or unexported fields
}
func NewServiceHookExecutor ¶
func NewServiceHookExecutor(config *types.EmailPasswordServiceHooksConfig, logger models.Logger, pluginRegistry models.PluginRegistry) *ServiceHookExecutor
func (*ServiceHookExecutor) AfterChangePassword ¶
func (*ServiceHookExecutor) AfterEmailChanged ¶
func (*ServiceHookExecutor) AfterSignIn ¶
func (e *ServiceHookExecutor) AfterSignIn(ctx context.Context, result *types.SignInResult) error
func (*ServiceHookExecutor) AfterSignUp ¶
func (e *ServiceHookExecutor) AfterSignUp(ctx context.Context, result *types.SignUpResult) error
func (*ServiceHookExecutor) AfterVerifyEmail ¶
func (e *ServiceHookExecutor) AfterVerifyEmail(ctx context.Context, user *models.User, verificationType models.VerificationType) error
func (*ServiceHookExecutor) BeforeChangePassword ¶
func (*ServiceHookExecutor) BeforeRequestEmailChange ¶
func (*ServiceHookExecutor) BeforeRequestPasswordReset ¶
func (*ServiceHookExecutor) BeforeSignIn ¶
func (*ServiceHookExecutor) BeforeSignUp ¶
Click to show internal directories.
Click to hide internal directories.