hipsterjazzbo / LaraParse

LaraParse provides a nice integration for using Parse (parse.com) with Laravel 5+
MIT License
27 stars 19 forks source link

Integrate Only Auth Provider #4

Closed chlebta closed 9 years ago

chlebta commented 9 years ago

Hello, Please How to integrate the Auth part only

nicklee1990 commented 9 years ago

What's the issue you're having? Did you follow the docs?

Install the package via composer, publish the Parse config then put your keys in and change the auth driver to 'parse'. Then the authentication will work fine. You're free to continue using the Parse SDK as you would use it without having installed this package e.g.

$query = new ParseQuery("MyClass"); $results = $query->find();

You might have to put the following in your controller:

use Parse\ParseObject; use Parse\ParseQuery; use Parse\ParseException;

hipsterjazzbo commented 9 years ago

There isn't a way to separate just one part of this package, however if you only want to use the Auth part, just change your auth driver in config/auth.php to 'parse' and don't use the rest of the features :)