Documentation ¶
Index ¶
- func CreateUnverifiedUser(u entity.User) error
- func Init(e env.FizzEnv)
- func SetUserVerified(user entity.User) error
- func UnverifiedUserByEmailAndEmailVerificationToken(email, token string) (*entity.User, error)
- func UserExists(email string) (bool, error)
- func VerifiedUserByEmail(email string) (*entity.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUnverifiedUser ¶
CreateUnverifiedUser creates an unverified user. It assumes that `u` is well-formed and sanitized. It does not sanitize `u`. The sanitization ought to have happened at the endpoint layer, as soon as we get the parameters from the request.
func SetUserVerified ¶
func UserExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.