Is REST API Possible with Codeigniter? |
(12-09-2017, 11:01 AM)skunkbad Wrote: The problem with using a standard authentication library with an API is that most APIs don't work that way. I've used a lot of APIs over the years, and never used one ever that utilized cookies/sessions, which is how Community Auth works, and I'm assuming how Ion Auth works. The term "API" covers a lot of territory. I believe there is a difference between what "API" means to you and what the OP is thinking. It seems to me that you are talking about APIs that allow a developer to access services (Amazon, Twitter, etc) so the service can be integrated into a website or application. As such, it makes perfect sense that the developer has the proper credentials to access the API. I took the OP's remark to be about the site's end-user authentication - not permission to access a development library. My understanding might be faulty, but if not then integrating a package like Community Auth into his site (via a REST architecture) does not seem out of line to me and deserves consideration. It would be a lot less work than DIY from scratch. |
Messages In This Thread |
Is REST API Possible with Codeigniter? - by mahesh2150 - 12-09-2017, 03:32 AM
RE: Is REST API Possible with Codeigniter? - by alinsimy - 12-09-2017, 04:56 AM
RE: Is REST API Possible with Codeigniter? - by InsiteFX - 12-09-2017, 05:08 AM
RE: Is REST API Possible with Codeigniter? - by mahesh2150 - 12-09-2017, 06:06 AM
RE: Is REST API Possible with Codeigniter? - by dave friend - 12-09-2017, 08:09 AM
RE: Is REST API Possible with Codeigniter? - by skunkbad - 12-09-2017, 11:01 AM
RE: Is REST API Possible with Codeigniter? - by dave friend - 12-09-2017, 12:24 PM
RE: Is REST API Possible with Codeigniter? - by InsiteFX - 12-10-2017, 04:46 AM
RE: Is REST API Possible with Codeigniter? - by dave friend - 12-10-2017, 08:26 AM
RE: Is REST API Possible with Codeigniter? - by legend1995 - 12-06-2019, 04:47 AM
RE: Is REST API Possible with Codeigniter? - by InsiteFX - 12-06-2019, 12:16 PM
RE: Is REST API Possible with Codeigniter? - by legend1995 - 12-06-2019, 12:47 PM
|