laravel 4 social with simple auth wrapper - authentication

I start using laravel (ver 4) and I got to the point I need to use authentication on my website.
I tried to find package that will allow me to wrap the all idea of "standard" / simple authentication and the social one (like facebook, google+ and etc..).
I found ion_auth and with some extensions it's allow me to use one authentication library for all kind of users - but it only works in codeigniter framework.
After a lot of research I couldn't find any ready package that allows me what I'm looking for, Does anyone familiar with such library or had this kind of issue and can tell me how he handle it?

This is a paid library, but it works pretty well. https://cartalyst.com/manual/sentry-social

i had a good experience using artdarek/oauth-4-laravel. it also has got a nice set of examples for using with different login providers.

Related

Building a Custom API on top of Parse.com?

I'm planning on building a developer API similar to what Uber and Yo have done. Is it possible to build such API if my app's backend is powered by parse.com? I don't want my custom API pointing to parse, but instead my own site.
I'm planning on using ruby, and was wondering if there would be any limitations over other options (not sure what options I have). Thanks
I'm not sure if it is possible using ruby, but I know it's definitely possible to build your own REST API.
We have decided to go a bit further and wrote a parse-angular seed project for developing web apps. It can be found here.
After you pulled it, do a npm install
As usual,
cloud code should go into cloud/main.js
express code: cloud/app.js
angular code: cloud/public/js/
Note that: You will need to change your AppId and AppKey in
config/global.json
cloud/public/js/app.js
As for custom apis, you can define your own in cloud/routes/api.js.
At this point you should have a nice parse-angular project set up and good to go.
If there's anything wrong, please feel free to open a pull request. :)

google now integration on website for Websiteupdates in Google Now

I am working on some integrations for Google Now.
The Schemas for Email-Notifications are clear,...
But bow I am searching for integrating our Website-News as well.
(I always get "website update-cards from Ryanair on my GNow)
But I cant seem to find the right schemas for it,... I dont even know if it is done by schema-markup-micromarkup-whatever lol
Any help or idea?
Thank you lots
Greets
Ray
Okay I have been wondering this same question for a while and these are what I have found.
Google Now doesn't support my PHP site but it does support another Drupal site of mine.
The only page that Google Now provides integration is here: https://www.google.com/landing/now/integrations.html
I found that quite some of the supported websites have rss.xml on its root.
So here's what I recommend to do: (I'm still trying so I'm not certain if the following methods are worth trying)
Use Drupal or other well-known CMS in case Google Now only supports a few kinds of websites.
Go to that page and try to get in contact with Google. (I haven't got replies yet though)
Try to add an rss.xml on your site's root and add a link to it at your default page. (I haven't got time to try it yet)

Import google plus friend list using php

Could any one give me suggestion on how to get friend list on google plus using PHP.
Is there any plugin or widget to do this.It would be great to know.
Thanks in advance.
Your user needs to grant your app access to this information via the OAuth 2.0 scope https://www.googleapis.com/auth/plus.login and then you can use the REST API or client libraries to get the list of friends.
See the Google+ PHP quickstart for a sample application that accomplishes all of the steps necessary for what you want to do. The sample uses the Symfony framework to keep the code concise, but you should be able to take away how to do the same in your own PHP environment.
Also, see the Google APIs PHP client library that you can use in your project. This library is embedded in the quickstart via composer.

joomla 2.5, user authentication

I am currently trying to work out a solution, how to make an authentication for my Joomla 2.5 website.
I did the log in form, and created test users, although I don't know how to access Joomla DB. Can you help me find a solution for my question. The answers I found on google, I didn't quite understand.
It would be really nice if someone would share some good tutorials.
Thank you in advance.
Joomla manages authentication for you via its user management and authentication system. It already provides you with a login form in fact ... but more importantly it provides you with authentication and user plugins that you can add your own to if you need something different. This is the point of using a CMS to have a platform that already provides you with secure and well tested user management among other thigns.
Try this , I think it will be useful to you,
http://docs.joomla.org/J2.5:Accessing_the_database_using_JDatabase

Dropbox - any API to cli_link?

I'm using the dropboxd service under Linux, which requires you to log into their website e.g. https://www.dropbox.com/cli_link?host_id=2173bf325f94beee3b1879d2c7b49e69 to link the machine to your account.
Is there any programatic way to do this (ideally using Java)? To access the website above it seems you need to login using forms (which seems tricky to do programatically), and their basic REST API (https://www.dropbox.com/developers/core/docs) doesnt seem to cover the cli_link command.
I could write an app to do the sync using their full API, but it seems like overkill since aside from the cli_link requirement the basic dropboxd does all that I need.
The official Dropbox desktop client is unrelated to the API, though both the API and the Linux CLI require user interaction on the Dropbox web site (once per link) to authorize the linking. Also, note that automating/scraping the site itself is not allowed by the terms:
https://www.dropbox.com/terms#acceptable_use
Not really a solution for DropBox users, but in the end we just moved over to use MediaFire instead. That has a full REST API and doesnt require any manual intervention.