Skip to content

Commit dee0ea4

Browse files
author
Eric Koleda
authored
Remove unused enum STATE_PARAMETER_LOCATION
It was never implemented and accidentally sneaked in a while back.
1 parent 8c1963e commit dee0ea4

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/OAuth2.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,6 @@ var TOKEN_FORMAT = {
2828
FORM_URL_ENCODED: 'application/x-www-form-urlencoded'
2929
};
3030

31-
/**
32-
* The supported locations for passing the state parameter.
33-
* @enum {string}
34-
*/
35-
var STATE_PARAMETER_LOCATION = {
36-
/**
37-
* Pass the state parameter in the authorization URL.
38-
* @default
39-
*/
40-
AUTHORIZATION_URL: 'authorization-url',
41-
/**
42-
* Pass the state token in the redirect URL, as a workaround for APIs that
43-
* don't support the state parameter.
44-
*/
45-
REDIRECT_URL: 'redirect-url'
46-
};
47-
4831
/**
4932
* Creates a new OAuth2 service with the name specified. It's usually best to
5033
* create and configure your service once at the start of your script, and then

0 commit comments

Comments
 (0)