# Các Event Auth
# Giới thiệu
- Là các hành động
Đăng kí,Đăng nhập,Verify email,Đổi mật khẩu. - Được gửi từ backend.
# Trigger
- User vào trang
app/loginđể tiến hành đăng nhập - User vào trang
app/registerđể tiến hành đăng kí - User xác thực tài khoản bằng url nhận từ email sau khi đăng kí
- User tiến hành đổi mật khẩu hoặc quên mật khẩu
# Schema
# Host
POST /collect
# Request body
| Key | Desc |
|---|---|
| u_id | Logged In user hoặc User đã dăng kí hoặc user đổi mật khẩu |
| type | UserLoggedIn, UserRegistered, UserEmailVerified, UserPasswordChanged |
| Required Info Schema | Xem thông tin bắt buộc |
# Sample
# UserLoggedIn, UserRegistered, UserEmailVerified, UserPasswordChanged
{
"referer": "http://localhost:31896/",
"c_id": null,
"w": null,
"h": null,
"p_f": null,
"a_v": null,
"host": "api-tuyendung.topcv.local",
"o": "http://localhost:31896",
"p_n": "api/v1/auth/login",
"q": null,
"u_id": "139912",
"id": null,
"src": null,
"tab_id": null,
"ts": 1632472198,
"ip": "172.25.0.1",
"type": "UserLoggedIn",
"hrf": "http%3A%2F%2Fapi-tuyendung.topcv.local%2Fapi%2Fv1%2Fauth%2Flogin",
"t_i": null,
"cv_i": null,
"p": null,
"b": null,
"jb_ids": null,
"p_j_i": null,
"v_t": null,
"s": null,
"mb_l_i": null,
"r": null,
"package": null,
"mi_l_i": null,
"g_s": null,
"h_s": null,
"b_ns": null,
"u_s": null,
"u_m": null,
"u_c": null,
"ta_source": null,
"p_id": null,
"imprs": null
}