mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 11:54:31 +02:00
Refactor "Authentication" class with four main methods:
- withSession() - for auto authentication with Session/Cookie variables - withOpenId() - for authentication with an OpenID account - withPassword() - for authentication with Password - setForUser() - for setting the user auth context of the current session Refactor "Session" class - contains now "native" Session Management methods
This commit is contained in:
parent
18a3d18ba6
commit
96555a7385
13 changed files with 386 additions and 301 deletions
|
@ -22,5 +22,6 @@ $a = \Friendica\BaseObject::getApp();
|
|||
$a->runFrontend(
|
||||
$dice->create(\Friendica\App\Module::class),
|
||||
$dice->create(\Friendica\App\Router::class),
|
||||
$dice->create(\Friendica\Core\Config\PConfiguration::class)
|
||||
$dice->create(\Friendica\Core\Config\PConfiguration::class),
|
||||
$dice->create(\Friendica\Core\Authentication::class)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue