/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../chunks/_rollupPluginBabelHelpers","../chunks/tslib.es6","../core/JSONSupport","../core/accessorSupport/decorators/property","../core/arrayUtils","../core/has","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/subclass"],(function(o,r,e,t,p,i,s,a){"use strict";var c;let n=c=function(r){function e(o){var e;return(e=r.call(this,o)||this)._oAuthCred=null,e.appId=null,e.authNamespace="/",e.expiration=20160,e.flowType="auto",e.forceLogin=!1,e.forceUserId=!1,e.locale=null,e.minTimeUntilExpiration=30,e.popup=!1,e.popupCallbackUrl="oauth-callback.html",e.popupWindowFeatures="height=490,width=800,resizable,scrollbars,status",e.portalUrl="https://www.arcgis.com",e.preserveUrlHash=!1,e.userId=null,e}return o._inheritsLoose(e,r),e.prototype.clone=function(){return c.fromJSON(this.toJSON())},e}(e.JSONSupport);r.__decorate([t.property({json:{write:!0}})],n.prototype,"appId",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"authNamespace",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"expiration",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"flowType",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"forceLogin",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"forceUserId",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"locale",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"minTimeUntilExpiration",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"popup",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"popupCallbackUrl",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"popupWindowFeatures",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"portalUrl",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"preserveUrlHash",void 0),r.__decorate([t.property({json:{write:!0}})],n.prototype,"userId",void 0),n=c=r.__decorate([a.subclass("esri.identity.OAuthInfo")],n);return n}));
