@esri/arcgis-rest-auth 4.0.3-alpha.1 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/auth.esm.js +4 -4
- package/dist/bundled/auth.esm.min.js +4 -4
- package/dist/bundled/auth.umd.js +54 -96
- package/dist/bundled/auth.umd.js.map +1 -1
- package/dist/bundled/auth.umd.min.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/bundled/auth.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @preserve
|
|
2
|
-
* @esri/arcgis-rest-auth - v4.0
|
|
3
|
-
* Copyright (c) 2017-
|
|
4
|
-
*
|
|
2
|
+
* @esri/arcgis-rest-auth - v4.8.0 - Apache-2.0
|
|
3
|
+
* Copyright (c) 2017-2026 Esri, Inc.
|
|
4
|
+
* Fri Jan 16 2026 01:29:10 GMT+0000 (Coordinated Universal Time)
|
|
5
5
|
*/
|
|
6
|
-
export { ApiKey, ApplicationSession,
|
|
6
|
+
export { ApiKey, ApplicationSession, UserSession, canUseOnlineToken, exchangeToken, fetchToken, getOnlineEnvironment, isFederated, isOnline, normalizeOnlinePortalUrl, platformSelf, validateAppAccess } from '@esri/arcgis-rest-request';
|
|
7
7
|
//# sourceMappingURL=auth.esm.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @preserve
|
|
2
|
-
* @esri/arcgis-rest-auth - v4.0
|
|
3
|
-
* Copyright (c) 2017-
|
|
4
|
-
*
|
|
2
|
+
* @esri/arcgis-rest-auth - v4.8.0 - Apache-2.0
|
|
3
|
+
* Copyright (c) 2017-2026 Esri, Inc.
|
|
4
|
+
* Fri Jan 16 2026 01:29:10 GMT+0000 (Coordinated Universal Time)
|
|
5
5
|
*/
|
|
6
|
-
export{ApiKey,ApplicationSession,
|
|
6
|
+
export{ApiKey,ApplicationSession,UserSession,canUseOnlineToken,exchangeToken,fetchToken,getOnlineEnvironment,isFederated,isOnline,normalizeOnlinePortalUrl,platformSelf,validateAppAccess}from"@esri/arcgis-rest-request";
|
|
7
7
|
//# sourceMappingURL=auth.esm.min.js.map
|
package/dist/bundled/auth.umd.js
CHANGED
|
@@ -1,104 +1,62 @@
|
|
|
1
1
|
/* @preserve
|
|
2
|
-
* @esri/arcgis-rest-auth - v4.0
|
|
3
|
-
* Copyright (c) 2017-
|
|
4
|
-
*
|
|
2
|
+
* @esri/arcgis-rest-auth - v4.8.0 - Apache-2.0
|
|
3
|
+
* Copyright (c) 2017-2026 Esri, Inc.
|
|
4
|
+
* Fri Jan 16 2026 01:29:10 GMT+0000 (Coordinated Universal Time)
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@esri/arcgis-rest-request')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['exports', '@esri/arcgis-rest-request'], factory) :
|
|
9
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.arcgisRest = global.arcgisRest || {}, global.arcgisRest));
|
|
10
10
|
})(this, (function (exports, arcgisRestRequest) { 'use strict';
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Object.defineProperty(exports, 'UserSession', {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () { return arcgisRestRequest.UserSession; }
|
|
63
|
-
});
|
|
64
|
-
Object.defineProperty(exports, 'canUseOnlineToken', {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () { return arcgisRestRequest.canUseOnlineToken; }
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, 'exchangeToken', {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function () { return arcgisRestRequest.exchangeToken; }
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, 'fetchToken', {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () { return arcgisRestRequest.fetchToken; }
|
|
75
|
-
});
|
|
76
|
-
Object.defineProperty(exports, 'getOnlineEnvironment', {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function () { return arcgisRestRequest.getOnlineEnvironment; }
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, 'isFederated', {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function () { return arcgisRestRequest.isFederated; }
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, 'isOnline', {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () { return arcgisRestRequest.isOnline; }
|
|
87
|
-
});
|
|
88
|
-
Object.defineProperty(exports, 'normalizeOnlinePortalUrl', {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
get: function () { return arcgisRestRequest.normalizeOnlinePortalUrl; }
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, 'platformSelf', {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function () { return arcgisRestRequest.platformSelf; }
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, 'validateAppAccess', {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () { return arcgisRestRequest.validateAppAccess; }
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
|
+
Object.defineProperty(exports, "ApiKey", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return arcgisRestRequest.ApiKey; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "ApplicationSession", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return arcgisRestRequest.ApplicationSession; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "UserSession", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return arcgisRestRequest.UserSession; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "canUseOnlineToken", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return arcgisRestRequest.canUseOnlineToken; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "exchangeToken", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return arcgisRestRequest.exchangeToken; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "fetchToken", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return arcgisRestRequest.fetchToken; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "getOnlineEnvironment", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return arcgisRestRequest.getOnlineEnvironment; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "isFederated", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return arcgisRestRequest.isFederated; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "isOnline", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return arcgisRestRequest.isOnline; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "normalizeOnlinePortalUrl", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return arcgisRestRequest.normalizeOnlinePortalUrl; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "platformSelf", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return arcgisRestRequest.platformSelf; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "validateAppAccess", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return arcgisRestRequest.validateAppAccess; }
|
|
59
|
+
});
|
|
102
60
|
|
|
103
61
|
}));
|
|
104
62
|
//# sourceMappingURL=auth.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @preserve
|
|
2
|
-
* @esri/arcgis-rest-auth - v4.0
|
|
3
|
-
* Copyright (c) 2017-
|
|
4
|
-
*
|
|
2
|
+
* @esri/arcgis-rest-auth - v4.8.0 - Apache-2.0
|
|
3
|
+
* Copyright (c) 2017-2026 Esri, Inc.
|
|
4
|
+
* Fri Jan 16 2026 01:29:10 GMT+0000 (Coordinated Universal Time)
|
|
5
5
|
*/
|
|
6
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@esri/arcgis-rest-request")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).arcgisRest=e.arcgisRest||{},e.arcgisRest)}(this,
|
|
6
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@esri/arcgis-rest-request")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).arcgisRest=e.arcgisRest||{},e.arcgisRest)}(this,function(e,n){"use strict";Object.defineProperty(e,"ApiKey",{enumerable:!0,get:function(){return n.ApiKey}}),Object.defineProperty(e,"ApplicationSession",{enumerable:!0,get:function(){return n.ApplicationSession}}),Object.defineProperty(e,"UserSession",{enumerable:!0,get:function(){return n.UserSession}}),Object.defineProperty(e,"canUseOnlineToken",{enumerable:!0,get:function(){return n.canUseOnlineToken}}),Object.defineProperty(e,"exchangeToken",{enumerable:!0,get:function(){return n.exchangeToken}}),Object.defineProperty(e,"fetchToken",{enumerable:!0,get:function(){return n.fetchToken}}),Object.defineProperty(e,"getOnlineEnvironment",{enumerable:!0,get:function(){return n.getOnlineEnvironment}}),Object.defineProperty(e,"isFederated",{enumerable:!0,get:function(){return n.isFederated}}),Object.defineProperty(e,"isOnline",{enumerable:!0,get:function(){return n.isOnline}}),Object.defineProperty(e,"normalizeOnlinePortalUrl",{enumerable:!0,get:function(){return n.normalizeOnlinePortalUrl}}),Object.defineProperty(e,"platformSelf",{enumerable:!0,get:function(){return n.platformSelf}}),Object.defineProperty(e,"validateAppAccess",{enumerable:!0,get:function(){return n.validateAppAccess}})});
|
|
7
7
|
//# sourceMappingURL=auth.umd.min.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;gBACgB;;;AAEhB,iEAuBmC;AAtBjC,6GAAA,MAAM,OAAA;AACN,yHAAA,kBAAkB,OAAA;AAClB,kHAAA,WAAW,OAAA;AACX,oHAAA,aAAa,OAAA;AACb,mHAAA,YAAY,OAAA;AACZ,wHAAA,iBAAiB,OAAA;AACjB,2HAAA,oBAAoB,OAAA;AACpB,kHAAA,WAAW,OAAA;AACX,+GAAA,QAAQ,OAAA;AACR,+HAAA,wBAAwB,OAAA;AACxB,iHAAA,UAAU,OAAA;AACV,wHAAA,iBAAiB,OAAA","sourcesContent":["/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\n\nexport {\n ApiKey,\n ApplicationSession,\n UserSession,\n exchangeToken,\n platformSelf,\n canUseOnlineToken,\n getOnlineEnvironment,\n isFederated,\n isOnline,\n normalizeOnlinePortalUrl,\n fetchToken,\n validateAppAccess,\n AuthenticationProvider,\n IApiKeyOptions,\n ICredential,\n IOAuth2Options,\n IPlatformSelfResponse,\n IAuthenticatedRequestOptions,\n IUserRequestOptions,\n IFetchTokenResponse,\n IAppAccess,\n IUser\n} from \"@esri/arcgis-rest-request\";\n\nimport { IArcGISIdentityManagerOptions } from \"@esri/arcgis-rest-request\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;gBACgB;;;AAEhB,iEAuBmC;AAtBjC,6GAAA,MAAM,OAAA;AACN,yHAAA,kBAAkB,OAAA;AAClB,kHAAA,WAAW,OAAA;AACX,oHAAA,aAAa,OAAA;AACb,mHAAA,YAAY,OAAA;AACZ,wHAAA,iBAAiB,OAAA;AACjB,2HAAA,oBAAoB,OAAA;AACpB,kHAAA,WAAW,OAAA;AACX,+GAAA,QAAQ,OAAA;AACR,+HAAA,wBAAwB,OAAA;AACxB,iHAAA,UAAU,OAAA;AACV,wHAAA,iBAAiB,OAAA","sourcesContent":["/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\n\nexport {\n ApiKey,\n ApplicationSession,\n UserSession,\n exchangeToken,\n platformSelf,\n canUseOnlineToken,\n getOnlineEnvironment,\n isFederated,\n isOnline,\n normalizeOnlinePortalUrl,\n fetchToken,\n validateAppAccess,\n AuthenticationProvider,\n IApiKeyOptions,\n ICredential,\n IOAuth2Options,\n IPlatformSelfResponse,\n IAuthenticatedRequestOptions,\n IUserRequestOptions,\n IFetchTokenResponse,\n IAppAccess,\n IUser\n} from \"@esri/arcgis-rest-request\";\n\nimport { IArcGISIdentityManagerOptions } from \"@esri/arcgis-rest-request\";\n\nexport interface IUserSessionOptions extends IArcGISIdentityManagerOptions {}\n"]}
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;gBACgB;AAEhB,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,WAAW,EACX,QAAQ,EACR,wBAAwB,EACxB,UAAU,EACV,iBAAiB,EAWlB,MAAM,2BAA2B,CAAC","sourcesContent":["/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\n\nexport {\n ApiKey,\n ApplicationSession,\n UserSession,\n exchangeToken,\n platformSelf,\n canUseOnlineToken,\n getOnlineEnvironment,\n isFederated,\n isOnline,\n normalizeOnlinePortalUrl,\n fetchToken,\n validateAppAccess,\n AuthenticationProvider,\n IApiKeyOptions,\n ICredential,\n IOAuth2Options,\n IPlatformSelfResponse,\n IAuthenticatedRequestOptions,\n IUserRequestOptions,\n IFetchTokenResponse,\n IAppAccess,\n IUser\n} from \"@esri/arcgis-rest-request\";\n\nimport { IArcGISIdentityManagerOptions } from \"@esri/arcgis-rest-request\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;gBACgB;AAEhB,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,WAAW,EACX,QAAQ,EACR,wBAAwB,EACxB,UAAU,EACV,iBAAiB,EAWlB,MAAM,2BAA2B,CAAC","sourcesContent":["/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.\n * Apache-2.0 */\n\nexport {\n ApiKey,\n ApplicationSession,\n UserSession,\n exchangeToken,\n platformSelf,\n canUseOnlineToken,\n getOnlineEnvironment,\n isFederated,\n isOnline,\n normalizeOnlinePortalUrl,\n fetchToken,\n validateAppAccess,\n AuthenticationProvider,\n IApiKeyOptions,\n ICredential,\n IOAuth2Options,\n IPlatformSelfResponse,\n IAuthenticatedRequestOptions,\n IUserRequestOptions,\n IFetchTokenResponse,\n IAppAccess,\n IUser\n} from \"@esri/arcgis-rest-request\";\n\nimport { IArcGISIdentityManagerOptions } from \"@esri/arcgis-rest-request\";\n\nexport interface IUserSessionOptions extends IArcGISIdentityManagerOptions {}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/arcgis-rest-auth",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Authentication helpers for @esri/arcgis-rest-js.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"node": ">=12.20.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@esri/arcgis-rest-request": "4.
|
|
47
|
+
"@esri/arcgis-rest-request": "^4.8.0",
|
|
48
48
|
"tslib": "^2.3.0"
|
|
49
49
|
},
|
|
50
50
|
"contributors": [
|