Commit Graph

18 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
John Chijioke
af1399fc19 Update index.d.ts (#14019)
Add responseType option to Auth0ClientOptions and error string to Auth0DecodedHash
2017-01-17 13:57:33 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Paul van Brenk
1996e6a1a6 Fix issues and merge more changes from master 2016-11-30 13:54:18 -08:00
Paul van Brenk
37bd54827a Merge pull request #12540 from ClaudiuBadau/patch-1
Update getDelegationToken for auth0-js
2016-11-29 16:59:52 -08:00
Paul van Brenk
40e416a33c Merge master into typings-2.0 2016-11-29 16:51:33 -08:00
Jacob Windsor
d94193bbae Add to Auth0LoginOptions instead
Since the responseType is also needed in the login method options
2016-11-29 23:05:36 +01:00
Jacob Windsor
d7316cb65c Add responseType to signup options 2016-11-29 23:02:34 +01:00
Andy
cd4debea25 Remove BOM character from the start of files (#12838) 2016-11-28 10:40:45 -08:00
Nathan Shively-Sanders
c6c61b2213 Merge remote-tracking branch 'origin/master' into types-merge-20161122 2016-11-22 15:08:50 -08:00
Jacob Windsor
25a3664371 Update Auth0DecodedHash
The id_token should be in camelCase not snake case (idToken). See fourth code block in https://auth0.com/docs/quickstart/spa/angular2/02-custom-login
2016-11-13 13:34:07 +01:00
Claudiu Badau
06058fc847 Update getDelegationToken
Tried passing in the `targetClientID` and `id_token` but got an error. 

Based on [Auth0.js delegation token documentation] (https://github.com/auth0/auth0.js#delegation-token-request) you should just be passing in the options and callback. This worked for me.

```js
auth0.getDelegationToken(options, function (err, delegationResult) {
    // Call your API using delegationResult.id_token
});
```
2016-11-07 13:01:20 -05:00
Steve Van Opstal
256e76c933 Types 2.0: Fix incorrectly merged auth0-js module name (#11680)
See #10721
2016-10-03 13:16:27 -07:00
zhengbli
c2a54db3e9 Merge branch 'master' into types-2.0
# Conflicts:
#	amcharts/AmCharts.d.ts
#	angular-gettext/angular-gettext.d.ts
#	angular-jwt/angular-jwt.d.ts
#	angular-material/angular-material.d.ts
#	angularjs/angular.d.ts
#	auth0-js/auth0-js.d.ts
#	aws-lambda/aws-lambda.d.ts
#	aws-sdk/aws-sdk.d.ts
#	azure-mobile-apps/azure-mobile-apps.d.ts
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	blessed/blessed-tests.ts
#	blessed/blessed.d.ts
#	bootbox/bootbox.d.ts
#	bowser/bowser.d.ts
#	cache-manager/cache-manager.d.ts
#	chai-things/chai-things.d.ts
#	colors/colors.d.ts
#	cordova/cordova-tests.ts
#	cordova/plugins/Contacts.d.ts
#	cordova/plugins/FileSystem.d.ts
#	couchbase/couchbase.d.ts
#	cucumber/cucumber-tests.ts
#	cucumber/cucumber.d.ts
#	d3/d3.d.ts
#	dojo/dojo.d.ts
#	dustjs-linkedin/dustjs-linkedin.d.ts
#	esprima/esprima.d.ts
#	express-serve-static-core/express-serve-static-core.d.ts
#	express-session/express-session.d.ts
#	fetch-mock/fetch-mock.d.ts
#	fs-extra/fs-extra.d.ts
#	fullCalendar/fullCalendar.d.ts
#	github-electron/github-electron.d.ts
#	gulp-uglify/gulp-uglify.d.ts
#	gulp/gulp.d.ts
#	highcharts/highcharts.d.ts
#	imap/imap.d.ts
#	incremental-dom/incremental-dom.d.ts
#	inversify/inversify.d.ts
#	ionic/ionic.d.ts
#	ioredis/ioredis.d.ts
#	isomorphic-fetch/isomorphic-fetch-tests.ts
#	jake/jake.d.ts
#	joi/joi.d.ts
#	jquery-mockjax/jquery-mockjax.d.ts
#	jquery/jquery.d.ts
#	js-data-http/js-data-http-tests.ts
#	js-data-http/js-data-http.d.ts
#	js-data/js-data.d.ts
#	jsdom/jsdom.d.ts
#	jsts/jsts-tests.ts
#	knex/knex.d.ts
#	koa-favicon/koa-favicon.d.ts
#	koa-router/koa-router-tests.ts
#	koa-router/koa-router.d.ts
#	lodash/lodash.d.ts
#	mailparser/mailparser.d.ts
#	maquette/maquette.d.ts
#	material-ui/material-ui.d.ts
#	matter-js/matter-js.d.ts
#	moment/moment.d.ts
#	mongoose-promise/mongoose-promise-tests.ts
#	mongoose/mongoose-tests.ts
#	mongoose/mongoose.d.ts
#	multer/multer.d.ts
#	ncp/ncp.d.ts
#	nock/nock.d.ts
#	node/node-tests.ts
#	node/node.d.ts
#	nvd3/nvd3.d.ts
#	object-assign/object-assign.d.ts
#	openlayers/openlayers.d.ts
#	parse/parse.d.ts
#	pdf/pdf.d.ts
#	pdfkit/pdfkit.d.ts
#	pg/pg.d.ts
#	pixi.js/pixi.js.d.ts
#	progress/progress.d.ts
#	pusher-js/pusher-js.d.ts
#	quill/quill-tests.ts
#	quill/quill.d.ts
#	radium/radium.d.ts
#	ravenjs/ravenjs-tests.ts
#	react-dropzone/react-dropzone.d.ts
#	react-mdl/react-mdl.d.ts
#	react-native/react-native.d.ts
#	react-notification-system/react-notification-system.d.ts
#	react-router/history-tests.ts
#	react-router/react-router-tests.tsx
#	react-router/react-router.d.ts
#	react-select/react-select-tests.tsx
#	react-select/react-select.d.ts
#	react/react.d.ts
#	redux-form/redux-form.d.ts
#	request-promise/request-promise.d.ts
#	resolve-from/resolve-from.d.ts
#	riot-api-nodejs/riot-api-nodejs.d.ts
#	sanitize-html/sanitize-html.d.ts
#	segment-analytics/segment-analytics.d.ts
#	simple-assign/simple-assign-tests.ts
#	simple-assign/simple-assign.d.ts
#	slate-irc/slate-irc.d.ts
#	soap/soap.d.ts
#	socket.io/socket.io.d.ts
#	sql.js/sql.js-tests.ts
#	sql.js/sql.js.d.ts
#	steam/steam.d.ts
#	stylus/stylus.d.ts
#	swiper/swiper.d.ts
#	tedious/tedious.d.ts
#	threejs/three.d.ts
#	twilio/twilio.d.ts
#	underscore/underscore.d.ts
#	ws/ws.d.ts
#	yeoman-generator/yeoman-generator.d.ts
2016-09-14 18:44:24 -07:00
Ian Ker-Seymer
3c2537787b Add email_verified property to Auth0UserProfile (#10835) 2016-08-30 23:36:06 +09:00
Seth Westphal
2f07f4c429 Fix module name. 2016-08-19 12:27:12 -05:00
Paul van Brenk
2a10e28ad4 New typings migrated to 2.0 2016-08-18 16:39:16 -07:00
Seth Westphal
ad2267039b Rename auth0 -> auth0-js. 2016-08-16 19:37:54 -05:00