Skip to content

AuthActions

  • Full name: \Zemit\Mvc\Controller\Traits\Actions\AuthActions

Methods

getAction

Create a refresh a session

public getAction(bool $refresh = false): bool

Parameters:

Parameter Type Description
$refresh bool

refreshAction

Refresh or create a session

public refreshAction(): bool

loginAction

Login Action - Require an active session to bind the logged in userId

public loginAction(): bool

loginAsAction

Login As Action - Requires an active session to bind the logged in userId

public loginAsAction(): bool

logoutAction

Log the user out from the database session

public logoutAction(): bool

logoutAsAction

Login Action - Requires an active session to bind the logged in userId

public logoutAsAction(): bool

resetAction

Reset Action - Requires an active session to bind the logged in userId

public resetAction(): bool