@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.87 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as o}from"../chunks/tslib.es6.js";import t from"../core/JSONSupport.js";import{property as r}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import"../core/RandomLCG.js";import{subclass as e}from"../core/accessorSupport/decorators/subclass.js";var p;let s=class extends t{static{p=this}constructor(o){super(o),this._oAuthCred=null,this.appId=null,this.authNamespace="/",this.expiration=20160,this.flowType="auto",this.forceLogin=!1,this.forceUserId=!1,this.locale=null,this.minTimeUntilExpiration=30,this.popup=!1,this.popupCallbackUrl="oauth-callback.html",this.popupWindowFeatures="height=490,width=800,resizable,scrollbars,status",this.portalUrl="https://www.arcgis.com",this.preserveUrlHash=!1,this.userId=null}clone(){return p.fromJSON(this.toJSON())}};o([r({json:{write:!0}})],s.prototype,"appId",void 0),o([r({json:{write:!0}})],s.prototype,"authNamespace",void 0),o([r({json:{write:!0}})],s.prototype,"expiration",void 0),o([r({json:{write:!0}})],s.prototype,"flowType",void 0),o([r({json:{write:!0}})],s.prototype,"forceLogin",void 0),o([r({json:{write:!0}})],s.prototype,"forceUserId",void 0),o([r({json:{write:!0}})],s.prototype,"locale",void 0),o([r({json:{write:!0}})],s.prototype,"minTimeUntilExpiration",void 0),o([r({json:{write:!0}})],s.prototype,"popup",void 0),o([r({json:{write:!0}})],s.prototype,"popupCallbackUrl",void 0),o([r({json:{write:!0}})],s.prototype,"popupWindowFeatures",void 0),o([r({json:{write:!0}})],s.prototype,"portalUrl",void 0),o([r({json:{write:!0}})],s.prototype,"preserveUrlHash",void 0),o([r({json:{write:!0}})],s.prototype,"userId",void 0),s=p=o([e("esri.identity.OAuthInfo")],s);const i=s;export{i as default};