AuthController
class AuthController extends JwtApiController
认证控制器
Traits
ThrottlesLogins
DispatchesJobs
ValidatesRequests
Properties
static array | $permission | from Controller | |
protected int | $pagesize | pagesize | from Controller |
protected string | $ip | ip | from Controller |
protected Carbon | $now | now | from Controller |
protected string|null | $route | route | from Controller |
protected string|null | $title | title | from Controller |
protected null|PamAccount | $pam | from JwtApiController | |
protected float|int | $maxAttempts | 最大请求次数 10 次 |
|
protected float | $decayMinutes | 30 秒内, 最多 10 次请求 |
Methods
JsonResponse
access()
No description
JsonResponse
login(Request $req)
No description
bindMobile()
No description
renew()
No description
JsonResponse|RedirectResponse|Response
logout()
No description
exists()
No description
string
username()
No description
Details
in
JwtApiController at line 22
__construct()
ApiController constructor.
in
Controller at line 69
protected void
withViews()
No description
in
Controller at line 94
protected void
seo(mixed ...$args)
seo
in
JwtApiController at line 36
protected Authenticatable|PamAccount
pam()
返回 Jwt 用户
at line 78
JsonResponse
access()
No description
at line 119
JsonResponse
login(Request $req)
No description
at line 194
resetPassword(PamPasswordRequest $request)
No description
at line 251
bindMobile()
No description
at line 287
renew()
No description
at line 320
JsonResponse|RedirectResponse|Response
logout()
No description
at line 335
exists()
No description
at line 357
protected string
username()
No description