View Source Zoonk.Accounts.UserNotifier (Zoonk v0.1.0-alpha)

Service for managing user emails.

Link to this section Summary

Functions

Deliver instructions to confirm account.

Deliver instructions to reset a user password.

Deliver instructions to update a user email.

Link to this section Types

@type deliver() :: {:ok, Swoosh.Email.t()}

Link to this section Functions

Link to this function

deliver_confirmation_instructions(user, url)

View Source
@spec deliver_confirmation_instructions(Zoonk.Accounts.User.t(), String.t()) ::
  deliver()

Deliver instructions to confirm account.

Link to this function

deliver_reset_password_instructions(user, url)

View Source
@spec deliver_reset_password_instructions(Zoonk.Accounts.User.t(), String.t()) ::
  deliver()

Deliver instructions to reset a user password.

Link to this function

deliver_update_email_instructions(user, url)

View Source
@spec deliver_update_email_instructions(Zoonk.Accounts.User.t(), String.t()) ::
  deliver()

Deliver instructions to update a user email.