@esri/arcgis-rest-auth 4.0.0 → 4.0.1

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.
@@ -1,7 +1,7 @@
1
1
  /* @preserve
2
- * @esri/arcgis-rest-auth - v4.0.0-beta.4 - Apache-2.0
2
+ * @esri/arcgis-rest-auth - v4.0.0 - Apache-2.0
3
3
  * Copyright (c) 2017-2022 Esri, Inc.
4
- * Mon Apr 18 2022 16:42:03 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Apr 20 2022 22:27:37 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
6
  export { ApiKey, ApplicationSession, AuthenticationProvider, IApiKeyOptions, IAppAccess, IAuthenticatedRequestOptions, ICredential, IFetchTokenResponse, IOAuth2Options, IPlatformSelfResponse, IUser, IUserRequestOptions, 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.0-beta.4 - Apache-2.0
2
+ * @esri/arcgis-rest-auth - v4.0.0 - Apache-2.0
3
3
  * Copyright (c) 2017-2022 Esri, Inc.
4
- * Mon Apr 18 2022 16:42:03 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Apr 20 2022 22:27:37 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
6
  export{ApiKey,ApplicationSession,AuthenticationProvider,IApiKeyOptions,IAppAccess,IAuthenticatedRequestOptions,ICredential,IFetchTokenResponse,IOAuth2Options,IPlatformSelfResponse,IUser,IUserRequestOptions,UserSession,canUseOnlineToken,exchangeToken,fetchToken,getOnlineEnvironment,isFederated,isOnline,normalizeOnlinePortalUrl,platformSelf,validateAppAccess}from"@esri/arcgis-rest-request";
7
7
  //# sourceMappingURL=auth.esm.min.js.map
@@ -1,7 +1,7 @@
1
1
  /* @preserve
2
- * @esri/arcgis-rest-auth - v4.0.0-beta.4 - Apache-2.0
2
+ * @esri/arcgis-rest-auth - v4.0.0 - Apache-2.0
3
3
  * Copyright (c) 2017-2022 Esri, Inc.
4
- * Mon Apr 18 2022 16:42:03 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Apr 20 2022 22:27:37 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
6
  (function (global, factory) {
7
7
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@esri/arcgis-rest-request')) :
@@ -1,7 +1,7 @@
1
1
  /* @preserve
2
- * @esri/arcgis-rest-auth - v4.0.0-beta.4 - Apache-2.0
2
+ * @esri/arcgis-rest-auth - v4.0.0 - Apache-2.0
3
3
  * Copyright (c) 2017-2022 Esri, Inc.
4
- * Mon Apr 18 2022 16:42:03 GMT+0000 (Coordinated Universal Time)
4
+ * Wed Apr 20 2022 22:27:37 GMT+0000 (Coordinated Universal Time)
5
5
  */
6
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,"AuthenticationProvider",{enumerable:!0,get:function(){return n.AuthenticationProvider}}),Object.defineProperty(e,"IApiKeyOptions",{enumerable:!0,get:function(){return n.IApiKeyOptions}}),Object.defineProperty(e,"IAppAccess",{enumerable:!0,get:function(){return n.IAppAccess}}),Object.defineProperty(e,"IAuthenticatedRequestOptions",{enumerable:!0,get:function(){return n.IAuthenticatedRequestOptions}}),Object.defineProperty(e,"ICredential",{enumerable:!0,get:function(){return n.ICredential}}),Object.defineProperty(e,"IFetchTokenResponse",{enumerable:!0,get:function(){return n.IFetchTokenResponse}}),Object.defineProperty(e,"IOAuth2Options",{enumerable:!0,get:function(){return n.IOAuth2Options}}),Object.defineProperty(e,"IPlatformSelfResponse",{enumerable:!0,get:function(){return n.IPlatformSelfResponse}}),Object.defineProperty(e,"IUser",{enumerable:!0,get:function(){return n.IUser}}),Object.defineProperty(e,"IUserRequestOptions",{enumerable:!0,get:function(){return n.IUserRequestOptions}}),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}}),Object.defineProperty(e,"__esModule",{value:!0})}));
7
7
  //# sourceMappingURL=auth.umd.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/arcgis-rest-auth",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Authentication helpers for @esri/arcgis-rest-js.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -24,6 +24,9 @@
24
24
  },
25
25
  "types": "dist/esm/index.d.ts",
26
26
  "sideEffects": false,
27
+ "files": [
28
+ "dist/**"
29
+ ],
27
30
  "scripts": {
28
31
  "build": "npm-run-all --parallel build:*",
29
32
  "postbuild": "node ../../scripts/create-dist-package-jsons.js",
@@ -41,7 +44,7 @@
41
44
  "node": ">=12.20.0"
42
45
  },
43
46
  "dependencies": {
44
- "@esri/arcgis-rest-request": "4.0.0",
47
+ "@esri/arcgis-rest-request": "4.0.1",
45
48
  "tslib": "^2.3.0"
46
49
  },
47
50
  "contributors": [
package/.ultra.cache.json DELETED
@@ -1 +0,0 @@
1
- {"files":{"dist":"1650300123798.0598","CHANGELOG.md":"eaa49892327876fd6aa65bb08ecd17145ae32f8e","README.md":"f2088f99a15c639f1aa5e0806594901bc9c1d212","package.json":"dd38dfa182b4a1cf9006e2509bfa71f805241381","src/index.ts":"de3c4a3ed52582e32db55bd6043d47a10f43a490","tsconfig.json":"90cbf37afa22bf149841064433be84fbb7e8f5e8"},"deps":{"@esri/arcgis-rest-request":1650300122894.0496}}
package/CHANGELOG.md DELETED
@@ -1,152 +0,0 @@
1
- # @esri/arcgis-rest-auth [4.0.0](https://github.com/Esri/arcgis-rest-js/compare/@esri/arcgis-rest-auth@3.4.3...@esri/arcgis-rest-auth@4.0.0) (2022-04-18)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * **arcgis-rest-request:** add support for server credentials ([#965](https://github.com/Esri/arcgis-rest-js/issues/965)) ([b063bcc](https://github.com/Esri/arcgis-rest-js/commit/b063bcca1780cd671e6b4f25532e4122903dc8b2))
7
- * add package.json files to builds for individual build types ([#955](https://github.com/Esri/arcgis-rest-js/issues/955)) ([c162125](https://github.com/Esri/arcgis-rest-js/commit/c16212594f0b914425548be5d61d7435d54a2718))
8
-
9
-
10
- ### Features
11
-
12
- * add breaking change ([8205840](https://github.com/Esri/arcgis-rest-js/commit/8205840d81106173fdb1fe3750822e1754611c3b))
13
- * **arcgis-rest-request:** rewrite oauth 2 functions to use PKCE ([e49f88c](https://github.com/Esri/arcgis-rest-js/commit/e49f88c700694aed472733527124c4d0d54e45d6))
14
-
15
-
16
- ### BREAKING CHANGES
17
-
18
- * force 4.x release
19
-
20
-
21
-
22
-
23
-
24
- ### Dependencies
25
-
26
- * **@esri/arcgis-rest-request:** upgraded to 4.0.0
27
-
28
- # @esri/arcgis-rest-auth [4.0.0-beta.4](https://github.com/Esri/arcgis-rest-js/compare/@esri/arcgis-rest-auth@4.0.0-beta.3...@esri/arcgis-rest-auth@4.0.0-beta.4) (2022-03-22)
29
-
30
-
31
- ### Bug Fixes
32
-
33
- * **arcgis-rest-request:** add support for server credentials ([#965](https://github.com/Esri/arcgis-rest-js/issues/965)) ([b063bcc](https://github.com/Esri/arcgis-rest-js/commit/b063bcca1780cd671e6b4f25532e4122903dc8b2))
34
-
35
-
36
-
37
-
38
-
39
- ### Dependencies
40
-
41
- * **@esri/arcgis-rest-request:** upgraded to 4.0.0-beta.6
42
-
43
- # @esri/arcgis-rest-auth [4.0.0-beta.3](https://github.com/Esri/arcgis-rest-js/compare/@esri/arcgis-rest-auth@4.0.0-beta.2...@esri/arcgis-rest-auth@4.0.0-beta.3) (2022-03-10)
44
-
45
-
46
- ### Bug Fixes
47
-
48
- * add package.json files to builds for individual build types ([#955](https://github.com/Esri/arcgis-rest-js/issues/955)) ([c162125](https://github.com/Esri/arcgis-rest-js/commit/c16212594f0b914425548be5d61d7435d54a2718))
49
-
50
-
51
-
52
-
53
-
54
- ### Dependencies
55
-
56
- * **@esri/arcgis-rest-request:** upgraded to 4.0.0-beta.3
57
-
58
- # @esri/arcgis-rest-auth [4.0.0-beta.2](https://github.com/Esri/arcgis-rest-js/compare/@esri/arcgis-rest-auth@4.0.0-beta.1...@esri/arcgis-rest-auth@4.0.0-beta.2) (2022-03-02)
59
-
60
-
61
- ### Features
62
-
63
- * **arcgis-rest-request:** rewrite oauth 2 functions to use PKCE ([e49f88c](https://github.com/Esri/arcgis-rest-js/commit/e49f88c700694aed472733527124c4d0d54e45d6))
64
-
65
-
66
-
67
-
68
-
69
- ### Dependencies
70
-
71
- * **@esri/arcgis-rest-request:** upgraded to 4.0.0-beta.2
72
-
73
- # @esri/arcgis-rest-auth 1.0.0-beta.1 (2022-02-17)
74
-
75
-
76
- ### Bug Fixes
77
-
78
- * switch to eslint, fix minor issues, disable other rules ([ab47412](https://github.com/Esri/arcgis-rest-js/commit/ab474123d3a056dcd52a8898f39f287893626f35))
79
- * **arcgis-rest-auth:** export validateAppAccess ([6d1e2ef](https://github.com/Esri/arcgis-rest-js/commit/6d1e2ef012ca25464e6219b5d909a30e5f1cecee))
80
- * **arcgis-rest-auth:** postMessage internals ([bd8eb6c](https://github.com/Esri/arcgis-rest-js/commit/bd8eb6c0363483209645c5cc7cf19ad1a8114cc6))
81
- * **UserSession:** remove /sharing/rest from server url during postMessage auth ([04fcdbd](https://github.com/Esri/arcgis-rest-js/commit/04fcdbd5307c79e55610a1bb7e049e3e18f0f0cc))
82
- * **UserSession:** switch "duration" to "expiration" in IOAuth2Options ([#847](https://github.com/Esri/arcgis-rest-js/issues/847)) ([392f5bb](https://github.com/Esri/arcgis-rest-js/commit/392f5bb74b2461e7bd34dd16e784fce415d554ec)), closes [#843](https://github.com/Esri/arcgis-rest-js/issues/843)
83
- * ensure platformSelf sends cookie ([29e33cb](https://github.com/Esri/arcgis-rest-js/commit/29e33cb9b9d0a2e25e412106adb06ff054bd5737))
84
- * export app-tokens ([0171204](https://github.com/Esri/arcgis-rest-js/commit/017120498b32c9322689ad539b216ce8e5c96a3a))
85
- * export validateAppAccess function ([b087de2](https://github.com/Esri/arcgis-rest-js/commit/b087de24ae6d8f41a2bb13c3c25a33943f0db2d8))
86
- * platformSelf to send cookies and append f=json in url ([ed81919](https://github.com/Esri/arcgis-rest-js/commit/ed819194da74075172ff26139f2db4491d79ed12))
87
- * update IPlatformSelfResponse to include expires_in ([dd3557b](https://github.com/Esri/arcgis-rest-js/commit/dd3557b19514a33150db2f15138422bb219681e7))
88
- * **:bug::** ensure fix session.portal url when cred.server contains sharing/rest ([815de49](https://github.com/Esri/arcgis-rest-js/commit/815de49549b35aa9d255de6b05c2beb2d153f37f))
89
- * **:bug::** ensure that the same referer is set in Node.js applications that is passed along in toke ([afaa564](https://github.com/Esri/arcgis-rest-js/commit/afaa5646bffbeec462a733d9b6e021d6499c0be7))
90
- * **:bug::** treat ArcGIS Online orgs as equivalent to arcgis.com when testing a portal ([18c3a7f](https://github.com/Esri/arcgis-rest-js/commit/18c3a7fcc774bad8e2cc9eef15444b62c1ed0dd1)), closes [#233](https://github.com/Esri/arcgis-rest-js/issues/233)
91
- * **:closed_lock_with_key::** expose option to customize expiration of ApplicationSession tokens ([5af14d7](https://github.com/Esri/arcgis-rest-js/commit/5af14d7b10ccee179f7b2da82f4f1478352a8b67)), closes [#314](https://github.com/Esri/arcgis-rest-js/issues/314)
92
- * **arcgis-rest-auth:** enable oAuth from within an IFrame ([e6538d5](https://github.com/Esri/arcgis-rest-js/commit/e6538d5d38c9b2d0f31c6392d257f0d9263170bd)), closes [#711](https://github.com/Esri/arcgis-rest-js/issues/711)
93
- * **arcgis-rest-auth:** ensure that mixed casing of federated server urls does not break the system ([07c92f5](https://github.com/Esri/arcgis-rest-js/commit/07c92f559cc0288fa379d19464f88642c6fe2803))
94
- * **auth:** add additional authentication providers ([85f73b2](https://github.com/Esri/arcgis-rest-js/commit/85f73b22c17a3a3ae72b559a63df2aef8297828c))
95
- * **auth:** allow trailing slash in portal URL ([b76da90](https://github.com/Esri/arcgis-rest-js/commit/b76da902d67d4ac3635ac18eb780e7c68d7617f7))
96
- * **auth:** better regex match for usernames ([d38a7fb](https://github.com/Esri/arcgis-rest-js/commit/d38a7fb0e1bff3c49a135bc10be74893ec60a1e9))
97
- * **auth:** decode username when parsing response from OAuth ([e0c2a44](https://github.com/Esri/arcgis-rest-js/commit/e0c2a44bd5032ce9b45b0f8511e9cc256056872c)), closes [#165](https://github.com/Esri/arcgis-rest-js/issues/165)
98
- * **auth:** improve query and error handling when completing sign in ([4b3905c](https://github.com/Esri/arcgis-rest-js/commit/4b3905ca6517443c9237a44c0fc3249e579db8f5))
99
- * **auth:** use www.arcgis.com consistently ([a7dc28d](https://github.com/Esri/arcgis-rest-js/commit/a7dc28d9fe860f380ed57137bcafe73ab0bb5e9d)), closes [#223](https://github.com/Esri/arcgis-rest-js/issues/223)
100
- * **enterprise:** fetch fresh token manually when u/pw are provided ([299f3c0](https://github.com/Esri/arcgis-rest-js/commit/299f3c0da043b74113310cba9a3e9a0f77afa921)), closes [#161](https://github.com/Esri/arcgis-rest-js/issues/161)
101
- * **lock:** pass through url and options for non-federated requests ([802006c](https://github.com/Esri/arcgis-rest-js/commit/802006cdc68e69851e80c499a236ba4c8fa1cb6f))
102
- * **oauth:** check for window parent correctly in ouath without popup ([a27bb7d](https://github.com/Esri/arcgis-rest-js/commit/a27bb7da5fa5de7ddfbc2d676b707bfa1780ecbf))
103
- * **oAuth:** fix oAuth2 methods in IE 11 and Edge ([462f980](https://github.com/Esri/arcgis-rest-js/commit/462f980082f9eeb8c55b5aa6c5981422ae40105f))
104
- * **OAuth2 options:** added locale and state parameters for browser based OAuth2 ([b05996e](https://github.com/Esri/arcgis-rest-js/commit/b05996e83b1836f9a27337939a9a681d41207504))
105
- * **portal:** fetch tokens for rest admin requests to services federated with ArcGIS Enterprise too ([79dda00](https://github.com/Esri/arcgis-rest-js/commit/79dda000e9cc3d8cf270ab3ace65d70d20d5ac57)), closes [#329](https://github.com/Esri/arcgis-rest-js/issues/329)
106
- * **release:** resolve issues from accidental 1.0.1 release. ([ddd3d6c](https://github.com/Esri/arcgis-rest-js/commit/ddd3d6cab0fb0d789da866cea07244b7a170d9fd))
107
- * **release-automation:** fix issues found in https://github.com/Esri/arcgis-rest-js/pull/80. ([3b42fe9](https://github.com/Esri/arcgis-rest-js/commit/3b42fe9969cc2f6a21428692c72ada8ffffb59a6))
108
- * **release-automation:** fix issues uncovered by 1st release ([a73b76f](https://github.com/Esri/arcgis-rest-js/commit/a73b76f58843d538d8b29b1ae60a72a9f57ac5ec))
109
- * **sharing:** ensure internal sharing metadata calls pass through custom request options ([e70a10d](https://github.com/Esri/arcgis-rest-js/commit/e70a10d5bbd6ac4fecf61f9f635b01cf9c8c5034)), closes [#276](https://github.com/Esri/arcgis-rest-js/issues/276)
110
- * **sharing:** rework group membership checking, fix UserSession.getUser scope issue ([909a37e](https://github.com/Esri/arcgis-rest-js/commit/909a37ec2f928ad223c674ae0d4033e24761ae9a))
111
- * **try:** try an anonymous request before throwing an auth error ([9209035](https://github.com/Esri/arcgis-rest-js/commit/9209035072b54bf68425ee9737e2a15010ac1b33))
112
- * **UserSession:** throw ArcGISAuthError instead of Error when unable to refresh a token ([8854765](https://github.com/Esri/arcgis-rest-js/commit/88547656ce88786e2dcac8e8e0e78045b67e8e16)), closes [#56](https://github.com/Esri/arcgis-rest-js/issues/56)
113
- * **UserSession:** will now update expired tokens on non-federated servers ([af121c1](https://github.com/Esri/arcgis-rest-js/commit/af121c1de1c96027a2ca107ed46a7877b61c5a4f))
114
-
115
-
116
- ### Code Refactoring
117
-
118
- * change casing of IOauth2Options to IOAuth2Options ([9ffd227](https://github.com/Esri/arcgis-rest-js/commit/9ffd2277055864d5257cb7a6c9913c70079e7da5))
119
- * deprecate common-types package (in favor of common) ([6ab2e75](https://github.com/Esri/arcgis-rest-js/commit/6ab2e75a3b57ce77391da7f2a16ab57a3e781000))
120
-
121
-
122
- ### Features
123
-
124
- * **:snowman::** add basic support for accessing secure non-federated services ([fc2f06b](https://github.com/Esri/arcgis-rest-js/commit/fc2f06b74a40261ae9b6bb959048d353be02153b)), closes [#174](https://github.com/Esri/arcgis-rest-js/issues/174)
125
- * **:unlock::** add support for an OAuth flow that triggers social media login automatically ([2e582e1](https://github.com/Esri/arcgis-rest-js/commit/2e582e12fc3e5bf9688b3ba80da33e4a5a5fa84f)), closes [#239](https://github.com/Esri/arcgis-rest-js/issues/239)
126
- * **all packages:** start shipping an unminified UMD for each package ([52043f5](https://github.com/Esri/arcgis-rest-js/commit/52043f5b702aca699f62abf8054582286e258ba5)), closes [#135](https://github.com/Esri/arcgis-rest-js/issues/135)
127
- * **ApplicationSession:** only allow 1 pending request for a new token at a time ([4e6f9e2](https://github.com/Esri/arcgis-rest-js/commit/4e6f9e27d561566449ef2338b078f44d0e3b65b5))
128
- * **arcgis-rest-auth:** add postMessage auth support ([a6b8a17](https://github.com/Esri/arcgis-rest-js/commit/a6b8a17a265339725a8c5dfd90e408f28a035787))
129
- * **arcgis-rest-auth:** add validateAppAccess function and UserSession method ([2478ea5](https://github.com/Esri/arcgis-rest-js/commit/2478ea56d43302d3f7fab6ffd38a9d2c609bb510))
130
- * **arcgis-rest-auth:** reduce postMessageAuth query params ([154515f](https://github.com/Esri/arcgis-rest-js/commit/154515f66a4eedb9ee83dd8528549db55e268871))
131
- * **auth:** add getCredential() method to UserSession for jsapi ([c03430d](https://github.com/Esri/arcgis-rest-js/commit/c03430d4d5b93d983c9cab39117a5623113425e8)), closes [#208](https://github.com/Esri/arcgis-rest-js/issues/208)
132
- * **auth:** add reflexive method to instantiate UserSession from jsapi auth ([ea64da9](https://github.com/Esri/arcgis-rest-js/commit/ea64da92c74c3a9b6671e66872070372db46cd72)), closes [#208](https://github.com/Esri/arcgis-rest-js/issues/208)
133
- * **caring:** methods to un/share items with groups ([8572bb0](https://github.com/Esri/arcgis-rest-js/commit/8572bb0ab0222e4f0eedbe9cfd4ff00c160f0c77))
134
- * **request:** adds option to return the raw fetch response ([6fb7c79](https://github.com/Esri/arcgis-rest-js/commit/6fb7c792f4aab585a06bb1178b41a8687eabc419)), closes [#462](https://github.com/Esri/arcgis-rest-js/issues/462)
135
- * **UserSession:** added optional 'popupWindowFeatures' to 'IOAuth2Options' ([f96a581](https://github.com/Esri/arcgis-rest-js/commit/f96a581033513c9a546998bc37254a46e364f153))
136
- * **UserSession:** multiple requests to getToken for similar URLs now return the same Promise ([751e5f1](https://github.com/Esri/arcgis-rest-js/commit/751e5f19d2e6fac184a0a17cc216c54cc5c1e9f2))
137
- * **UserSession:** rename refreshTokenDuration to refreshTokenTTL ([a6406d4](https://github.com/Esri/arcgis-rest-js/commit/a6406d4d10308b266fd7ddcc6168f32419f206aa))
138
- * **util:** add getUserUrl method to auth package ([d742b34](https://github.com/Esri/arcgis-rest-js/commit/d742b343130a8a0d5baaf9391ac48f5c5c334c6d))
139
-
140
-
141
- ### BREAKING CHANGES
142
-
143
- * deprecate common-types package (in favor of common)
144
- * change casing of IOauth2Options to IOAuth2Options
145
-
146
-
147
-
148
-
149
-
150
- ### Dependencies
151
-
152
- * **@esri/arcgis-rest-request:** upgraded to 1.0.0-beta.1
package/src/index.ts DELETED
@@ -1,32 +0,0 @@
1
- /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
2
- * Apache-2.0 */
3
-
4
- export {
5
- ApiKey,
6
- ApplicationSession,
7
- UserSession,
8
- exchangeToken,
9
- platformSelf,
10
- canUseOnlineToken,
11
- getOnlineEnvironment,
12
- isFederated,
13
- isOnline,
14
- normalizeOnlinePortalUrl,
15
- fetchToken,
16
- validateAppAccess,
17
- AuthenticationProvider,
18
- IApiKeyOptions,
19
- ICredential,
20
- IOAuth2Options,
21
- IPlatformSelfResponse,
22
- IAuthenticatedRequestOptions,
23
- IUserRequestOptions,
24
- IFetchTokenResponse,
25
- IAppAccess,
26
- IUser
27
- } from "@esri/arcgis-rest-request";
28
-
29
- import { IArcGISIdentityManagerOptions } from "@esri/arcgis-rest-request";
30
-
31
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
32
- export interface IUserSessionOptions extends IArcGISIdentityManagerOptions {}
package/tsconfig.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "include": [
4
- "src/**/*.ts"
5
- ]
6
- }