@@ -76,6 +76,9 @@ Each web service API acts independently in this library. However, when configur
7676 $cordovaOauth.foursquare(string clientId, object options);
7777 $cordovaOauth.magento(string baseUrl, string clientId, string clientSecret)
7878 $cordovaOauth.vkontakte(string clientId, array appScope)
79+ $cordovaOauth.odnoklassniki(string clientId, array appScope)
80+ $cordovaOauth.yandex(string clientId, object options) // defaults options={force_confirm: 'yes', browserWindow: 'location=no'}; error is a object, see below
81+ $cordovaOauth.mailru(string clientId, array appScope, object options) // defaults options={display: 'mobile', browserWindow: 'location=no'}; error is a object, see below
7982 $cordovaOauth.adfs(string clientId, string adfsServer, string relyingPartyId)
8083 $cordovaOauth.imgur(string clientId, object options)
8184 $cordovaOauth.spotify(string clientId, array appScope, object options)
@@ -145,7 +148,7 @@ angular.module("oauth.providers", [
145148 ' oauth.linkedin' , ' oauth.instagram' , ' oauth.box' , ' oauth.reddit' , ' oauth.slack' ,
146149 ' oauth.twitter' , ' oauth.meetup' , ' oauth.salesforce' , ' oauth.strava' ,
147150 ' oauth.withings' , ' oauth.foursquare' , ' oauth.magento' , ' oauth.vkontakte' ,
148- ' oauth.odnoklassniki' , ' oauth.imgur' , ' oauth.spotify' , ' oauth.uber' ,
151+ ' oauth.odnoklassniki' , ' oauth.yandex ' , ' oauth.mailru ' , ' oauth. imgur' , ' oauth.spotify' , ' oauth.uber' ,
149152 ' oauth.windowslive' , ' oauth.yammer' , ' oauth.venmo' , ' oauth.stripe' , ' oauth.rally' ,
150153 ' oauth.familySearch' , ' oauth.envato' , ' oauth.weibo' , ' oauth.jawbone' , ' oauth.untappd' ,
151154 ' oauth.dribble' , ' <YOUR PROVIDER MODULE HERE>' ]).factory (" $cordovaOauth" , cordovaOauth);
@@ -154,7 +157,7 @@ function cordovaOauth(
154157 $q , $http , $cordovaOauthUtility , $azureAD , $adfs , $dropbox , $digitalOcean ,
155158 $google , $github , $facebook , $linkedin , $instagram , $box , $reddit , $slack ,
156159 $twitter , $meetup , $salesforce , $strava , $withings , $foursquare , $magento
157- $vkontakte , $odnoklassniki , $imgur , $spotify , $uber , $windowslive , $yammer ,
160+ $vkontakte , $odnoklassniki , $yandex , $mailru , $ imgur , $spotify , $uber , $windowslive , $yammer ,
158161 $venmo , $stripe , $rally , $familySearch , $envato , $weibo , $jawbone , $untappd ,
159162 $dribble , < YOUR FACTORY NAME > ) {
160163
@@ -169,7 +172,7 @@ $cordovaOauth.$inject = [
169172 ' $digitalOcean' , ' $google' , ' $github' , ' $facebook' , ' $linkedin' ,
170173 ' $instagram' , ' $box' , ' $reddit' , ' $slack' , ' $twitter' ' $meetup' , ' $salesforce' ,
171174 ' $strava' , ' $withings' , ' $foursquare' , ' $magento' , ' $vkontakte' ,
172- ' $odnoklassniki' , ' $imgur' , ' $spotify' , ' $uber' , ' $windowslive' , ' $yammer' ,
175+ ' $odnoklassniki' , ' $yandex ' , ' $mailru ' , ' $ imgur' , ' $spotify' , ' $uber' , ' $windowslive' , ' $yammer' ,
173176 ' $venmo' , ' $stripe' , ' $rally' , ' $familySearch' , ' $envato' , ' $weibo' ,
174177 ' $jawbone' , ' $untappd' , ' $dribble' , ' <YOUR FACTORY NAME>'
175178];
0 commit comments