You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/server-methods.js
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,30 @@ var AuthenticationRequest = require('./authentication-request');
4
4
varHttpManager=require('./http-manager');
5
5
6
6
module.exports={
7
+
8
+
/**
9
+
* Retrieve a URL where the user can give the application permissions.
10
+
* @param {string[]} scopes The scopes corresponding to the permissions the application needs.
11
+
* @param {string} state A parameter that you can use to maintain a value between the request and the callback to redirect_uri.It is useful to prevent CSRF exploits.
12
+
* @param {boolean} showDialog A parameter that you can use to force the user to approve the app on each login rather than being automatically redirected.
13
+
* @param {string} responseType An optional parameter that you can use to specify the code response based on the authentication type - can be set to 'code' or 'token'. Default 'code' to ensure backwards compatability.
14
+
* @returns {string} The URL where the user can give application permissions.
Copy file name to clipboardExpand all lines: src/spotify-web-api.js
-24Lines changed: 0 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -773,29 +773,6 @@ SpotifyWebApi.prototype = {
773
773
.execute(HttpManager.get,callback);
774
774
},
775
775
776
-
/**
777
-
* Retrieve a URL where the user can give the application permissions.
778
-
* @param {string[]} scopes The scopes corresponding to the permissions the application needs.
779
-
* @param {string} state A parameter that you can use to maintain a value between the request and the callback to redirect_uri.It is useful to prevent CSRF exploits.
780
-
* @param {boolean} showDialog A parameter that you can use to force the user to approve the app on each login rather than being automatically redirected.
781
-
* @param {string} responseType An optional parameter that you can use to specify the code response based on the authentication type - can be set to 'code' or 'token'. Default 'code' to ensure backwards compatability.
782
-
* @returns {string} The URL where the user can give application permissions.
0 commit comments