UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

3 lines (2 loc) 1.64 kB
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as o}from"tslib";import{JSONSupport as t}from"../core/JSONSupport.js";import{property as r,subclass as e}from"../core/accessorSupport/decorators.js";var i;let p=class extends t{static{i=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 i.fromJSON(this.toJSON())}};o([r({json:{write:!0}})],p.prototype,"appId",void 0),o([r({json:{write:!0}})],p.prototype,"authNamespace",void 0),o([r({json:{write:!0}})],p.prototype,"expiration",void 0),o([r({json:{write:!0}})],p.prototype,"flowType",void 0),o([r({json:{write:!0}})],p.prototype,"forceLogin",void 0),o([r({json:{write:!0}})],p.prototype,"forceUserId",void 0),o([r({json:{write:!0}})],p.prototype,"locale",void 0),o([r({json:{write:!0}})],p.prototype,"minTimeUntilExpiration",void 0),o([r({json:{write:!0}})],p.prototype,"popup",void 0),o([r({json:{write:!0}})],p.prototype,"popupCallbackUrl",void 0),o([r({json:{write:!0}})],p.prototype,"popupWindowFeatures",void 0),o([r({json:{write:!0}})],p.prototype,"portalUrl",void 0),o([r({json:{write:!0}})],p.prototype,"preserveUrlHash",void 0),o([r({json:{write:!0}})],p.prototype,"userId",void 0),p=i=o([e("esri.identity.OAuthInfo")],p);const s=p;export{s as default};