Skip to content

Commit 24ffe14

Browse files
Merge pull request #19 from doapp-ryanp/gh-pages
Doc update for state param and new oauth:authorized
2 parents f57f71a + 709e264 commit 24ffe14

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

index.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ <h1 id="configurations">Configurations</h1>
380380
<span class="info">optional</span>
381381
</td>
382382
<td>
383-
Optional opaque value used by the client to maintain state between the request and callback.
383+
An arbitrary unique string created by your app to guard against <a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery" target="_blank">Cross-site Request Forgery</a>.
384384
</td>
385385
</tr>
386386
<tr>
@@ -670,9 +670,18 @@ <h1 id="events">Events</h1>
670670
<span class="info">fired</span>
671671
</td>
672672
<td>
673-
Fired when the user has authorized the third party app.
673+
Fired when the user has completed the login flow, and authorized the third party app.
674674
</td>
675675
</tr>
676+
<tr>
677+
<td class="parameter">
678+
<span>oauth:authorized(token)</span>
679+
<span class="info">fired</span>
680+
</td>
681+
<td>
682+
Fired when the view is initializing and user has a non-expired auth token in the local session storage.
683+
</td>
684+
</tr>
676685
<tr>
677686
<td class="parameter">
678687
<span>oauth:logout</span>

0 commit comments

Comments
 (0)