GT2/GT2-Android/node_modules/auth0-js/package.json

162 lines
34 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "auth0-js@^7.4.0",
"scope": null,
"escapedName": "auth0-js",
"name": "auth0-js",
"rawSpec": "^7.4.0",
"spec": ">=7.4.0 <8.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl"
]
],
"_from": "auth0-js@>=7.4.0 <8.0.0",
"_id": "auth0-js@7.6.1",
"_inCache": true,
"_location": "/auth0-js",
"_nodeVersion": "4.3.1",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/auth0-js-7.6.1.tgz_1483473208559_0.4095090772025287"
},
"_npmUser": {
"name": "auth0",
"email": "support@auth0.com"
},
"_npmVersion": "2.15.2",
"_phantomChildren": {},
"_requested": {
"raw": "auth0-js@^7.4.0",
"scope": null,
"escapedName": "auth0-js",
"name": "auth0-js",
"rawSpec": "^7.4.0",
"spec": ">=7.4.0 <8.0.0",
"type": "range"
},
"_requiredBy": [
"/xdl"
],
"_resolved": "https://registry.npmjs.org/auth0-js/-/auth0-js-7.6.1.tgz",
"_shasum": "5baea8603133bb143bd2c327b55a57da7afdf97c",
"_shrinkwrap": null,
"_spec": "auth0-js@^7.4.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl",
"author": {
"name": "Jose F. Romaniello",
"email": "jfromaniello@gmail.com",
"url": "http://joseoncode.com"
},
"bugs": {
"url": "https://github.com/auth0/auth0.js/issues"
},
"dependencies": {
"Base64": "~0.1.3",
"json-fallback": "0.0.1",
"jsonp": "~0.0.4",
"qs": "^6.2.1",
"reqwest": "2.0.5",
"trim": "~0.0.1",
"winchan": "0.1.4",
"xtend": "~2.1.1"
},
"description": "Auth0 headless browser sdk",
"devDependencies": {
"browserify": "~2.35.0",
"browserstack-cli": "0.3.1",
"bump-version": "^0.5.0",
"eslint": "3.7.1",
"eslint-config-auth0-base": "6.0.0",
"eslint-plugin-import": "1.16.0",
"expect.js": "~0.2.0",
"grunt": "~0.4.5",
"grunt-aws-s3": "~0.9.3",
"grunt-browserify": "~1.2.8",
"grunt-cli": "~0.1.9",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-connect": "~0.5.0",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-uglify": "~0.2.4",
"grunt-contrib-watch": "~0.2.0",
"grunt-exec": "~0.4.2",
"grunt-fastly": "~0.1.3",
"grunt-http": "^1.6.0",
"mocha": "1.20.1",
"phantomjs": "^1.9.2-6",
"rimraf": "~2.2.2",
"sinon": "1.16.1",
"uglify-js": "~2.4.0",
"unreleased": "^0.1.0",
"zuul": "3.10.1",
"zuul-ngrok": "github:gnandretta/zuul-ngrok#upgrade-ngrok"
},
"directories": {},
"dist": {
"shasum": "5baea8603133bb143bd2c327b55a57da7afdf97c",
"tarball": "https://registry.npmjs.org/auth0-js/-/auth0-js-7.6.1.tgz"
},
"gitHead": "f969ed9ea5f9e5d29a1c1be1028a0dac44e4d419",
"homepage": "https://github.com/auth0/auth0.js#readme",
"keywords": [
"auth0",
"auth",
"openid",
"authentication",
"jwt",
"browser"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "auth0",
"email": "support@auth0.com"
},
{
"name": "cristiandouce",
"email": "cristiandouce@gmail.com"
},
{
"name": "dschenkelman",
"email": "damian.schenkelman@gmail.com"
},
{
"name": "hzalaz",
"email": "hernan@auth0.com"
},
{
"name": "iaco",
"email": "sebastian.iacomuzzi@gmail.com"
},
{
"name": "jfromaniello",
"email": "jfromaniello@gmail.com"
},
{
"name": "mgonto",
"email": "martin@gonto.com.ar"
}
],
"name": "auth0-js",
"optionalDependencies": {},
"readme": "![](https://cdn.auth0.com/resources/oss-source-large-2x.png)\n\n# Auth0.js\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[Auth0](http://auth0.com) is an authentication broker that supports social identity providers as well as enterprise identity providers such as Active Directory, LDAP, Office365, Google Apps, Salesforce.\n\nAuth0.js is a client-side library for [Auth0](http://auth0.com). It allows you to trigger the authentication process and parse the [JWT](http://openid.net/specs/draft-jones-json-web-token-07.html) (JSON web token) with just the Auth0 `clientID`. Once you have the JWT you can use it to authenticate requests to your http API and validate the JWT in your server-side logic with the `clientSecret`.\n\n## Example\n\nThe example directory has a ready-to-go app. In order to run it you need [node](http://nodejs.org/) installed, download dependencies with `npm install`, then execute `npm run example` from the root of this project.\n\n### Initialize\n\nConstruct a new instance of the Auth0 client as follows:\n\n```html\n<script src=\"//cdn.auth0.com/w2/auth0-7.6.1.min.js\"></script>\n<script type=\"text/javascript\">\n var auth0 = new Auth0({\n domain: 'mine.auth0.com',\n clientID: 'dsa7d77dsa7d7',\n callbackURL: 'http://my-app.com/callback',\n responseType: 'token'\n });\n\n //...\n</script>\n```\n\n### Login\n\nThis method can be called as indifferently as `signin` or `login`.\nTriggers the login on any of your active identity provider as follows:\n\n```js\n //trigger login with google\n $('.login-google').click(function () {\n auth0.login({\n connection: 'google-oauth2'\n });\n });\n\n //trigger login with github\n $('.login-github').click(function () {\n auth0.login({\n connection: 'github'\n });\n });\n\n //trigger login with an enterprise connection\n $('.login-microsoft').click(function () {\n auth0.login({\n connection: 'contoso.com'\n });\n });\n\n //trigger login with a db connection\n $('.login-dbconn').click(function () {\n auth0.login({\n connection: 'db-conn',\n username: $('.username').val(),\n password: $('.password').val(),\n });\n });\n\n //trigger login with a db connection and avoid the redirect\n $('.login-dbconn').click(function () {\n auth0.login({\n connection: 'db-conn',\n username: $('.username').val(),\n password: $('.password').val(),\n },\n function (err, result) {\n // store in cookies\n });\n });\n\n //trigger login popup with google\n $('.login-google-popup').click(function (e) {\n e.preventDefault();\n auth0.login({\n connection: 'google-oauth2',\n popup: true,\n popupOptions: {\n width: 450,\n height: 800\n }\n }, function(err, result) {\n if (err) {\n alert(\"something went wrong: \" + err.message);\n return;\n }\n alert('Hello!');\n });\n });\n```\n\nYou can also request scopes that are not were not configured for the connection.\n\n```js\n //trigger login requesting additional scopes with google\n $('.login-google').click(function () {\n auth0.login({\n connection: 'google-oauth2',\n connection_scope: ['https://www.googleapis.com/auth/orkut', 'https://picasaweb.google.com/data/']\n });\n });\n\n // alternatively a comma separated list also works\n $('.login-google').click(function () {\n auth0.login({\n connection: 'google-oauth2',\n connection_scope: 'https://www.googleapis.com/auth/orkut,https://picasaweb.google.com/data/'\n });\n });\n```\n\nTrigger the login with offline mode support to get the `refresh_token`\n\n```js\n$('.login-dbconn').click(function () {\n auth0.login({\n connection: 'db-conn',\n username: $('.username').val(),\n password: $('.password').val()
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/auth0/auth0.js.git"
},
"scripts": {
"build": "grunt build",
"ci": "grunt ci",
"deploy": "./bin/deploy",
"dev": "grunt dev",
"example": "grunt example",
"phantom": "grunt phantom",
"test": "grunt integration"
},
"version": "7.6.1"
}