diff --git a/src/Auth.php b/src/Auth.php index ae9567d..7d1446f 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -159,6 +159,9 @@ final class Auth extends UserManager { * @throws InvalidPasswordException if the password was invalid * @throws UserAlreadyExistsException if a user with the specified email address already exists * @throws AuthError if an internal problem occurred (do *not* catch) + * + * @see confirmEmail + * @see confirmEmailAndSignIn */ public function register($email, $password, $username = null, callable $callback = null) { return $this->createUserInternal(false, $email, $password, $username, $callback); @@ -189,6 +192,9 @@ final class Auth extends UserManager { * @throws UserAlreadyExistsException if a user with the specified email address already exists * @throws DuplicateUsernameException if the specified username wasn't unique * @throws AuthError if an internal problem occurred (do *not* catch) + * + * @see confirmEmail + * @see confirmEmailAndSignIn */ public function registerWithUniqueUsername($email, $password, $username = null, callable $callback = null) { return $this->createUserInternal(true, $email, $password, $username, $callback); diff --git a/src/UserManager.php b/src/UserManager.php index 5beddd1..7476312 100644 --- a/src/UserManager.php +++ b/src/UserManager.php @@ -100,6 +100,9 @@ abstract class UserManager { * @throws UserAlreadyExistsException if a user with the specified email address already exists * @throws DuplicateUsernameException if it was specified that the username must be unique while it was *not* * @throws AuthError if an internal problem occurred (do *not* catch) + * + * @see confirmEmail + * @see confirmEmailAndSignIn */ protected function createUserInternal($requireUniqueUsername, $email, $password, $username = null, callable $callback = null) { $this->throttle(self::THROTTLE_ACTION_REGISTER);