Skip to content
This repository was archived by the owner on Jul 4, 2022. It is now read-only.

Commit d61296a

Browse files
forgot to resolve session.store from ioc in readme
1 parent b27bbd5 commit d61296a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ composer require superbalist/laravel-lusitanian-oauth-session-store
1717
## Usage
1818

1919
```php
20+
use App;
2021
use OAuth\ServiceFactory;
2122
use Superbalist\LusitanianOAuth\LaravelTokenSessionStore;
2223

2324
// this example demonstrates creating a github service
2425

2526
$factory = new ServiceFactory();
26-
$storage = new LaravelTokenSessionStore();
27+
$store = App::make('session.store');
28+
$storage = new LaravelTokenSessionStore($store);
2729

2830
$credentials = [
2931
'[[github key]]',

0 commit comments

Comments
 (0)