Skip to content

Commit add24d3

Browse files
committed
Fix README
1 parent 5fd5a26 commit add24d3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ With the `Authenticator` instance (`$auth`) you can call... Facebook (or Google,
8181

8282
$details = $auth->request('facebook'); //=> Lower case!
8383

84-
When you run `$auth->request()` you will first be redirected to the provider. You will need to grant or deny access to your personal information and then you will be redirected back to the page where you came from.
84+
When you run `$auth->request('provider')` you will first be redirected to the provider. You will need to grant or deny access to your personal information and then you will be redirected back to the page where you came from.
8585

8686
**IMPORTANT:** You need to set your page as a valid callback URL in your App!
8787

@@ -106,7 +106,7 @@ If access is granted, `$details` will be an instance of `ExtractorInterface` fro
106106

107107
### Redirect the users...
108108

109-
When you get redirected back to your site after a succesfull request, you will notice that there is a token in the URL. This token can't be used twice, so if you would refresh the page an exception would be thrown...
109+
When you get redirected back to your site after a successful request, you will notice that there is a token in the URL. This token can't be used twice, so if you would refresh the page an exception would be thrown...
110110

111111
Therefor, it might be wise to redirect your users somewhere after you're done.
112112

@@ -150,7 +150,6 @@ The handle needs to match the ones that are used in [php-oauth's examples](https
150150

151151
Just save your class somewhere, make sure it's being (auto)loaded and then reference it in your configuration array like so:
152152

153-
154153
'example' => [
155154
'key' => '123',
156155
'secret' => '456',
@@ -160,7 +159,6 @@ Just save your class somewhere, make sure it's being (auto)loaded and then refer
160159
'provider_class' => 'ExampleProvider', //=> Your custom provider
161160
],
162161

163-
164162
## Examples
165163

166164
Take a look at [examples](https://github.com/codezero-be/oauth/blob/master/examples).
@@ -169,6 +167,7 @@ Take a look at [examples](https://github.com/codezero-be/oauth/blob/master/examp
169167

170168
- Add tests...
171169
- Add more providers...
170+
- Create storage driver for Laravel's Session...
172171
- Fix bugs (maybe... probably...) :)
173172

174173
## Testing

0 commit comments

Comments
 (0)