This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How can I use Sentora's main authentication in another PHP script
#1
How can I use Sentora's main authentication in another PHP script
What is the best way to do this? I have the idea to select it directly from the database but I couldn't figure out how Sentora does its authentication. Is there an API for this?
Reply
Thanks given by:
#2
RE: How can I use Sentora's main authentication in another PHP script
(11-07-2015, 08:47 AM)anthony Wrote: What is the best way to do this? I have the idea to select it directly from the database but I couldn't figure out how Sentora does its authentication. Is there an API for this?

There's info in the docs here: http://docs.sentora.org/?node=9

I haven't tried using any of it, so I wouldn't be too much help there Sad
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: How can I use Sentora's main authentication in another PHP script
(11-07-2015, 12:50 PM)TGates Wrote:
(11-07-2015, 08:47 AM)anthony Wrote: What is the best way to do this? I have the idea to select it directly from the database but I couldn't figure out how Sentora does its authentication. Is there an API for this?

There's info in the docs here: http://docs.sentora.org/?node=9

I haven't tried using any of it, so I wouldn't be too much help there Sad

Thank you so much for your help so far Smile

I'll use that to the best of my abilities but I wish I could at least figure out what hashing algorithm that Sentora uses so maybe I can auth against the user's database.
Reply
Thanks given by:
#4
RE: How can I use Sentora's main authentication in another PHP script
If you want to authenticate from the database, I suggest you take a look at this file:

https://github.com/sentora/sentora-core/....class.php
15 years old - HTML - CSS - PHP - Java - Android - jQuery - Javascript
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,971 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,590 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 3 ,333 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 4 Guest(s)