mirror of
https://github.com/filegator/filegator.git
synced 2025-08-11 04:54:22 +02:00
Website generation with Couscous
This commit is contained in:
@@ -169,6 +169,9 @@ VALUES
|
||||
'database' => 'filegator',
|
||||
],
|
||||
],</code></pre>
|
||||
<h2 id="custom-authentication-using-3rd-party">Custom Authentication using 3rd party</h2>
|
||||
<p>If you want to use FileGator as a part of another application, you probably already have users stored somewhere else. What you need in this case is to build a new custom Auth adapter that matches the (AuthInterface)[<a href="https://github.com/filegator/filegator/blob/master/backend/Services/Auth/AuthInterface.php">https://github.com/filegator/filegator/blob/master/backend/Services/Auth/AuthInterface.php</a>] to connect those two. Basically, this new adapter will try to authenticate users in your application and store a (User)[<a href="https://github.com/filegator/filegator/blob/master/backend/Services/Auth/User.php">https://github.com/filegator/filegator/blob/master/backend/Services/Auth/User.php</a>] object into the filegator's session.</p>
|
||||
<p>Please look at this simplest (demo auth adapter)[<a href="https://github.com/filegator/demo_auth_adapter">https://github.com/filegator/demo_auth_adapter</a>] to see how all this works.</p>
|
||||
<h2 id="api-authentication">API authentication</h2>
|
||||
<p>Front-end will use session based authentication to authenticate and consume the back-end.</p>
|
||||
<p>Note: The application will not work if you disable cookies.</p>
|
||||
|
Reference in New Issue
Block a user