Skip to content

Commit b5f8949

Browse files
author
Michael McHugh
committed
Add documentation of ouath:profile broadcast message.
1 parent 273abb1 commit b5f8949

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,16 @@ <h1 id="events">Events</h1>
774774
See examples in the <a href="#customizations">customization</a> section.
775775
</td>
776776
</tr>
777+
<tr>
778+
<td class="parameter">
779+
<span>oauth:profile(profile)</span>
780+
<span class="info">fired</span>
781+
</td>
782+
<td>
783+
Fired when the profile data has been retrieved.<br>
784+
Does not fire if there is no <code>profile-uri</code> parameter.
785+
</td>
786+
</tr>
777787
</tbody>
778788
</table>
779789

@@ -795,6 +805,10 @@ <h1 id="events">Events</h1>
795805

796806
$scope.$on('oauth:expired', function(event) {
797807
console.log('The access token is expired. Please refresh.');
808+
});
809+
810+
$scope.$on('oauth:profile', function(profile) {
811+
console.log('User profile data retrieved: ', profile);
798812
});</xmp></code></pre>
799813

800814

0 commit comments

Comments
 (0)