serviceiamemail

package
v0.10.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeCancelService

ChangeCancelService handles the token cancellation step that revokes a pending email change before confirmation happens.

func (*ChangeCancelService) Create

Create consumes the cancellation token and records that matching confirmation tokens must no longer complete the email change.

type ChangeConfirmService

ChangeConfirmService handles the token confirmation step that finalizes a pending email change.

func (*ChangeConfirmService) Create

Create consumes the confirmation token and updates the account email when the current database state still matches the pending change flow.

type ChangeRequestService

ChangeRequestService handles authenticated requests that start the email change flow for the current account.

func (*ChangeRequestService) Create

Create validates the current password, checks the target email, and issues one-time confirmation and cancellation tokens for the email change flow.

type ChangeResendService

ChangeResendService handles authenticated requests that resend confirmation emails for an in-progress email change flow.

func (*ChangeResendService) Create

Create revalidates the current user and reissues the confirmation email for the target new email address.

type PasswordResetConfirmService

PasswordResetConfirmService handles the token confirmation step that finalizes the email-driven password reset flow.

func (*PasswordResetConfirmService) Create

Create completes the password reset flow by consuming the one-time token, updating the stored password hash, and invalidating active sessions.

type PasswordResetRequestService

PasswordResetRequestService handles public password reset requests that start the email-driven password recovery flow.

func (*PasswordResetRequestService) Create

Create starts the password reset flow for the provided email address. It always returns the same public-facing message for accepted requests so the caller cannot infer whether the account exists, while still enforcing throttle limits before any token is created or email is sent.

type VerificationConfirmService

VerificationConfirmService handles the token confirmation step that finalizes the email verification flow.

func (*VerificationConfirmService) Create

Create consumes the one-time verification token and marks the corresponding email address as verified when the current account state still matches.

type VerificationRequestService

VerificationRequestService handles public requests that start the email verification flow for an eligible user account.

func (*VerificationRequestService) Create

Create starts an email verification flow and returns a generic acceptance message so callers cannot infer whether the target account exists.

type VerificationResendService

VerificationResendService handles public requests that resend verification emails for accounts that are still pending verification.

func (*VerificationResendService) Create

Create resends a verification email for an eligible account while keeping the response stable for unknown or already verified accounts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址