AuthActions
- Full name:
\PhalconKit\Mvc\Controller\Traits\Actions\AuthActions
Properties
userExpose
public array $userExpose
Methods
getIdentityAction
Retrieve the current identity information
public getIdentityAction(): bool
getJwtAction
Create or refresh a JWT
public getJwtAction(bool $refresh = false): bool
Parameters:
| Parameter | Type | Description |
|---|---|---|
$refresh | bool |
refreshAction
Refresh an existing JWT
public refreshAction(): bool
loginAction
Login
public loginAction(): bool
loginAsAction
Login As (impersonation)
public loginAsAction(): bool
logoutAction
Logout from current session
public logoutAction(): bool
logoutAsAction
Logout from impersonation
public logoutAsAction(): bool
resetPasswordAction
Reset Password Action
public resetPasswordAction(): bool
getLoginParams
Retrieves login parameters including email and password with applied filters.
public getLoginParams(): array
Return Value:
Returns an array of login parameters with specified filters applied.
Throws:
getResetPasswordParams
Retrieves the parameters required for resetting a password with applied filters.
public getResetPasswordParams(): array
Return Value:
Returns an array of reset password parameters with specified filters applied.
Throws: