File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -774,6 +774,16 @@ <h1 id="events">Events</h1>
774
774
See examples in the < a href ="#customizations "> customization</ a > section.
775
775
</ td >
776
776
</ 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 >
777
787
</ tbody >
778
788
</ table >
779
789
@@ -795,6 +805,10 @@ <h1 id="events">Events</h1>
795
805
796
806
$scope.$on('oauth:expired', function(event) {
797
807
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);
798
812
});</ xmp > </ code > </ pre >
799
813
800
814
You can’t perform that action at this time.
0 commit comments