1 line
46 KiB
Plaintext
1 line
46 KiB
Plaintext
|
{"version":3,"sources":["User.js"],"names":["async","let","dfd","Deferred","server","http","createServer","req","res","method","url","body","on","data","resolve","qs","parse","writeHead","end","err","socket","connections","conn","key","remoteAddress","remotePort","destroy","cb","close","port","await","freeportAsync","listen","callbackURL","getTokenInfoAsync","promise","_startLoginServerAsync","AUTH0_DOMAIN","AUTHENTICATION_SERVER_TIMEOUT","UserManagerInstance","clientID","loginServer","refreshSessionThreshold","_currentUser","_getSessionLock","static","getGlobalInstance","__globalInstance","initialize","loginAsync","loginType","loginArgs","loginOptions","Error","connection","responseType","sso","username","password","scope","responseMode","device","auth0Options","loginResp","_auth0LoginAsync","_getProfileAsync","currentConnection","accessToken","access_token","refreshToken","refresh_token","idToken","id_token","refreshTokenClientId","destroyServerTimer","setTimeout","listening","tokenInfo","clearTimeout","profile","registerAsync","userData","user","getCurrentUserAsync","kind","userMetadata","onboarded","logoutAsync","shouldUpdateUsernamePassword","currentUser","shouldLinkAccount","registeredUser","createOrUpdateUserAsync","email","givenName","familyName","emailVerified","forceCreate","linkedAccountId","userId","linkedAccountConnection","loginsCount","e","ErrorCode","REGISTRATION_ERROR","message","ensureLoggedInAsync","options","noTrackError","Config","offline","getLegacyUserData","LEGACY_ACCOUNT_ERROR","noTrack","NOT_LOGGED_IN","acquire","_isTokenExpired","UserSettings","getAsync","Logger","global","error","release","legacyUsername","legacy","needsPasswordMigration","api","ApiV2Client","clientForUser","updatedUser","postAsync","_prepareAuth0Profile","_parseAuth0Profile","code","details","Analytics","logEvent","deleteKeyAsync","Intercom","update","forgotPasswordAsync","usernameOrEmail","_auth0ForgotPasswordAsync","dtoken","jwt","decode","complete","aud","payload","currentRefreshTokenClientId","process","env","NODE_ENV","debug","delegationResult","_auth0RefreshToken","_auth0GetProfileAsync","mergeAsync","auth","setUserProperties","intercomUserHash","exp","Date","now","window","Auth0JS","_auth0JSInstanceWithOptions","resp","Auth0Node","_nodeAuth0InstanceWithOptions","oauth","signIn","_formatAuth0NodeError","opn","_buildAuth0SocialLoginUrl","wait","getProfileAsync","tokens","getInfo","clientId","delegationTokenOptions","api_type","target","client_id","getDelegationTokenAsync","getDelegationToken","grant_type","changePasswordAsync","database","changePassword","errData","INVALID_USERNAME_PASSWORD","TOO_MANY_ATTEMPTS","error_description","qsData","response_type","response_mode","redirect_uri","queryString","stringify","Auth0","require","domain","Auth0Instance","Bluebird","promisifyAll","management","_","omit","ManagementClient","AuthenticationClient","rawProfile","Object","keys","reduce","p","camelCase","niceProfile","snakeCase","constructor","Promise","reject"],"mappings":";;;;;;;;;;+BA21BAA,aAIG;AACDC,QAAIC,MAAM,IAAIC,QAAJ,EAAVF;;AAEA,UAAMG,SAA8BC,cAAKC,YAALD,CAAkB,UAACE,GAAD,EAAMC,GAAN,EAAc;AAClE,UAAID,IAAIE,MAAJF,KAAe,MAAfA,IAAyBA,IAAIG,GAAJH,KAAY,WAAzC,EAAsD;AACpDN,YAAIU,OAAO,EAAXV;AACAM,YAAIK,EAAJL,CAAO,MAAPA,EAAe,UAASM,IAAT,EAAe;AAC5BF,kBAAQE,IAARF;AACD,SAFDJ;AAGAA,YAAIK,EAAJL,CAAO,KAAPA,EAAc,YAAW;AACvBL,cAAIY,OAAJZ,CAAYa,qBAAGC,KAAHD,CAASJ,IAATI,CAAZb;AACAM,cAAIS,SAAJT,CAAc,GAAdA,EAAmB,EAAE,gBAAgB,WAAlB,EAAnBA;AACAA,cAAIU,GAAJV,CACG;;;;;;;;;;;SADHA;AAcD,SAjBDD;AAkBF,OAvBA,MAuBO;AACLC,YAAIS,SAAJT,CAAc,GAAdA,EAAmB,EAAE,gBAAgB,WAAlB,EAAnBA;AACAA,YAAIU,GAAJV,CACG;;;;;OADHA;AAQF;AACD,KAnCmCH,CAApC;;AAqCAD,WAAOQ,EAAPR,CAAU,aAAVA,EAAyB,UAACe,GAAD,EAAMC,MAAN,EAAiB;AACxC;AACAA,aAAOF,GAAPE,CAAW,kCAAXA;AACD,KAHDh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