AuthProbeController
extends z_controller
in package
Table of Contents
- action_checkPassword() : void
- Verify a password against the stored hash for a user (used by reset test).
- action_lastResetCode() : void
- Latest active reset code for a user.
- action_scheme() : void
- The stored password_scheme for a user (legacy|onion|native|null).
- action_tokenActive() : void
- Whether a login token is still active in z_logintoken.
- action_userVerified() : void
- Reads the user's verified timestamp from the DB.
Methods
action_checkPassword()
Verify a password against the stored hash for a user (used by reset test).
public
action_checkPassword(Request $req, Response $res) : void
GET /auth-probe/checkPassword/
Parameters
- $req : Request
- $res : Response
Return values
void —action_lastResetCode()
Latest active reset code for a user.
public
action_lastResetCode(Request $req, Response $res) : void
GET /auth-probe/lastResetCode/
Parameters
- $req : Request
- $res : Response
Return values
void —action_scheme()
The stored password_scheme for a user (legacy|onion|native|null).
public
action_scheme(Request $req, Response $res) : void
GET /auth-probe/scheme/
Parameters
- $req : Request
- $res : Response
Return values
void —action_tokenActive()
Whether a login token is still active in z_logintoken.
public
action_tokenActive(Request $req, Response $res) : void
GET /auth-probe/tokenActive/
Parameters
- $req : Request
- $res : Response
Return values
void —action_userVerified()
Reads the user's verified timestamp from the DB.
public
action_userVerified(Request $req, Response $res) : void
GET /auth-probe/userVerified/
Parameters
- $req : Request
- $res : Response