{
  "_args": [
    [
      {
        "raw": "google-auth-library@https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
        "scope": null,
        "escapedName": "google-auth-library",
        "name": "google-auth-library",
        "rawSpec": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
        "spec": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
        "type": "remote"
      },
      "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin"
    ]
  ],
  "_from": "google-auth-library@>=0.10.0 <0.11.0",
  "_id": "google-auth-library@0.10.0",
  "_inCache": true,
  "_location": "/firebase-admin/google-auth-library",
  "_phantomChildren": {},
  "_requested": {
    "raw": "google-auth-library@https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
    "scope": null,
    "escapedName": "google-auth-library",
    "name": "google-auth-library",
    "rawSpec": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
    "spec": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/firebase-admin",
    "/firebase-admin/google-auto-auth"
  ],
  "_resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
  "_shasum": "6e15babee85fd1dd14d8d128a295b6838d52136e",
  "_shrinkwrap": null,
  "_spec": "google-auth-library@https://registry.npmjs.org/google-auth-library/-/google-auth-library-0.10.0.tgz",
  "_where": "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin",
  "author": {
    "name": "Google Inc."
  },
  "bugs": {
    "url": "https://github.com/google/google-auth-library-nodejs/issues"
  },
  "contributors": [
    {
      "name": "Google Inc."
    }
  ],
  "dependencies": {
    "gtoken": "^1.2.1",
    "jws": "^3.1.4",
    "lodash.noop": "^3.0.1",
    "request": "^2.74.0"
  },
  "description": "Google APIs Authentication Client Library for Node.js",
  "devDependencies": {
    "coveralls": "^2.11.15",
    "istanbul": "^0.4.5",
    "jsdoc": "^3.4.3",
    "jshint": "^2.9.4",
    "keypair": "^1.0.0",
    "mocha": "^3.2.0",
    "nock": "^9.0.2"
  },
  "engines": {
    "node": ">=0.10"
  },
  "homepage": "https://github.com/google/google-auth-library-nodejs#readme",
  "keywords": [
    "google",
    "api",
    "google apis",
    "client",
    "client library"
  ],
  "license": "Apache-2.0",
  "main": "./lib/auth/googleauth",
  "name": "google-auth-library",
  "optionalDependencies": {},
  "readme": "# Google APIs Node.js Client\n\n[![Build Status][travisimg]][travis]\n[![Code Coverage][coverallsimg]][coveralls]\n[![Dependencies][david-dm-img]][david-dm]\n\nThis is Google's officially supported [node.js][node] client library for using\nOAuth 2.0 authorization and authentication with Google APIs.\n\n### Questions/problems?\n\n* Ask your development related questions on [![Ask a question on Stackoverflow][overflowimg]][stackoverflow]\n* If you've found an bug/issue, please [file it on GitHub][bugs].\n\n## Installation\n\nThis library is distributed on `npm`. To add it as a dependency,\nrun the following command:\n\n``` sh\n$ npm install google-auth-library --save\n```\n\n## Application Default Credentials\nThis library provides an implementation of [Application Default Credentials][] for Node.js.\n\nThe [Application Default Credentials][] provide a simple way to get authorization credentials for use\nin calling Google APIs.\n\nThey are best suited for cases when the call needs to have the same identity and authorization\nlevel for the application independent of the user. This is the recommended approach to authorize\ncalls to Cloud APIs, particularly when you're building an application that uses Google Compute\nEngine.\n\n#### Download your Service Account Credentials JSON file\n\nTo use `Application Default Credentials`, You first need to download a set of\nJSON credentials for your project. Go to **APIs & Auth** > **Credentials** in\nthe [Google Developers Console][devconsole] and select\n**Service account** from the **Add credentials** dropdown.\n\n> This file is your *only copy* of these credentials. It should never be\n> committed with your source code, and should be stored securely.\n\nOnce downloaded, store the path to this file in the\n`GOOGLE_APPLICATION_CREDENTIALS` environment variable.\n\n#### Enable the API you want to use\n\nBefore making your API call, you must be sure the API you're calling has been\nenabled. Go to **APIs & Auth** > **APIs** in the\n[Google Developers Console][devconsole] and enable the APIs you'd like to\ncall. For the example below, you must enable the `DNS API`.\n\n#### Call an API\n\nAs long as you update the environment variable below to point to *your* JSON\ncredentials file, and the fill in the placeholder variables from your project,\nthe following snippet should work.\n\n```js\nvar google = require('googleapis');\nvar GoogleAuth = require('google-auth-library');\n\nvar authFactory = new GoogleAuth();\nvar dns = google.dns('v1');\n\nauthFactory.getApplicationDefault(function(err, authClient) {\n  if (err) {\n    console.log('Authentication failed because of ', err);\n    return;\n  }\n  if (authClient.createScopedRequired && authClient.createScopedRequired()) {\n    var scopes = ['https://www.googleapis.com/auth/cloud-platform'];\n    authClient = authClient.createScoped(scopes);\n  }\n\n  var request = {\n    // TODO: Change placeholders below to values for parameters to the 'get' method:\n\n    // Identifies the project addressed by this request.\n    project: \"\",\n    // Identifies the managed zone addressed by this request. Can be the managed zone name or id.\n    managedZone: \"\",\n    // The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.\n    changeId: \"\",\n    // Auth client\n    auth: authClient\n  };\n\n  dns.changes.get(request, function(err, result) {\n    if (err) {\n      console.log(err);\n    } else {\n      console.log(result);\n    }\n  });\n});\n```\n\n## Contributing\n\nSee [CONTRIBUTING][contributing].\n\n## License\n\nThis library is licensed under Apache 2.0. Full license text is\navailable in [LICENSE][copying].\n\n[travisimg]: https://api.travis-ci.org/google/google-auth-library-nodejs.svg\n[bugs]: https://github.com/google/google-auth-library-nodejs/issues\n[node]: http://nodejs.org/\n[travis]: https://travis-ci.org/google/google-auth-library-nodejs\n[stackoverflow]: http://stackoverflow.com/questions/tagged/google-auth-library-nodejs\n[apiexplorer]: https://developers.google.com/apis-explorer\n[urlshort]: https://developers.google.com/url-shortener/\n[usingkeys]: https://developers.google.com/console/help/#UsingKeys\n[contributing]: https://github.com/google/google-auth-library-nodejs/blob/master/.github/CONTRIBUTING.md\n[copying]: https://github.com/google/google-auth-library-nodejs/tree/master/LICENSE\n[authdocs]: https://developers.google.com/accounts/docs/OAuth2Login\n[request]: https://github.com/mikeal/request\n[requestopts]: https://github.com/mikeal/request#requestoptions-callback\n[stream]: http://nodejs.org/api/stream.html#stream_class_stream_readable\n[stability]: http://nodejs.org/api/stream.html#stream_stream\n[overflowimg]: https://googledrive.com/host/0ByfSjdPVs9MZbkhjeUhMYzRTeEE/stackoveflow-tag.png\n[devconsole]: https://console.developer.google.com\n[oauth]: https://developers.google.com/accounts/docs/OAuth2\n[options]: https://github.com/google/google-auth-library-nodejs/tree/master#options\n[gcloud]: https://github.com/GoogleCloudPlatform/gcloud-node\n[cloudplatform]: https://developers.google.com/cloud/\n[coveralls]: https://coveralls.io/r/google/google-auth-library-nodejs?branch=master\n[coverallsimg]: https://img.shields.io/coveralls/google/google-auth-library-nodejs.svg\n[Application Default Credentials]: https://developers.google.com/identity/protocols/application-default-credentials#callingnode\n[david-dm-img]: https://david-dm.org/google/google-auth-library-nodejs/status.svg\n[david-dm]: https://david-dm.org/google/google-auth-library-nodejs\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/google/google-auth-library-nodejs.git"
  },
  "scripts": {
    "coverage": "istanbul cover -x 'apis/**' _mocha -- --reporter spec --timeout 4000",
    "coveralls": "istanbul cover -x 'apis/**' _mocha --report lcovonly -- --reporter spec --timeout 4000 && cat coverage/lcov.info | coveralls",
    "generate-docs": "jsdoc -c jsdoc-conf.json ./README.md",
    "lint": "jshint lib test",
    "mocha": "mocha --reporter spec --timeout 4000",
    "prepare": "npm test && npm run lint && npm version patch",
    "test": "npm run lint && npm run coverage"
  },
  "version": "0.10.0"
}
