Uname:Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64

Base Dir : /var/www/html

User : gavin


403WebShell
403Webshell
Server IP : 68.183.124.220  /  Your IP : 216.73.216.141
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : gavin ( 1000)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/gavin/workspace/readjs/node_modules/passport-paypal-openidconnect/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gavin/workspace/readjs/node_modules/passport-paypal-openidconnect/package.json
{
  "_args": [
    [
      {
        "raw": "passport-paypal-openidconnect@~0.1.1",
        "scope": null,
        "escapedName": "passport-paypal-openidconnect",
        "name": "passport-paypal-openidconnect",
        "rawSpec": "~0.1.1",
        "spec": ">=0.1.1 <0.2.0",
        "type": "range"
      },
      "/home/gavin/workspace/meanjs"
    ]
  ],
  "_from": "passport-paypal-openidconnect@>=0.1.1 <0.2.0",
  "_id": "passport-paypal-openidconnect@0.1.1",
  "_inCache": true,
  "_location": "/passport-paypal-openidconnect",
  "_npmUser": {
    "name": "shekhei",
    "email": "shekhei@gmail.com"
  },
  "_npmVersion": "1.2.18",
  "_phantomChildren": {},
  "_requested": {
    "raw": "passport-paypal-openidconnect@~0.1.1",
    "scope": null,
    "escapedName": "passport-paypal-openidconnect",
    "name": "passport-paypal-openidconnect",
    "rawSpec": "~0.1.1",
    "spec": ">=0.1.1 <0.2.0",
    "type": "range"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/passport-paypal-openidconnect/-/passport-paypal-openidconnect-0.1.1.tgz",
  "_shasum": "158f07ca4e842077295411d3c05d02b256bed52d",
  "_shrinkwrap": null,
  "_spec": "passport-paypal-openidconnect@~0.1.1",
  "_where": "/home/gavin/workspace/meanjs",
  "author": {
    "name": "Wong Shek Hei",
    "email": "shekhei@gmail.com",
    "url": "http://www.shekhei.com"
  },
  "bugs": {
    "url": "http://github.com/shekhei/passport-paypal-openidconnect/issues"
  },
  "dependencies": {
    "passport-openidconnect": "*",
    "pkginfo": "0.2.x"
  },
  "description": "PayPal (OpenIDConnect) authentication strategy for Passport.",
  "devDependencies": {
    "vows": "0.6.x"
  },
  "directories": {},
  "dist": {
    "shasum": "158f07ca4e842077295411d3c05d02b256bed52d",
    "tarball": "https://registry.npmjs.org/passport-paypal-openidconnect/-/passport-paypal-openidconnect-0.1.1.tgz"
  },
  "engines": {
    "node": ">= 0.4.0"
  },
  "homepage": "https://github.com/shekhei/passport-paypal-openidconnect#readme",
  "keywords": [
    "passport",
    "paypal",
    "auth",
    "authn",
    "authentication",
    "identity",
    "openid-connect"
  ],
  "licenses": [
    {
      "type": "MIT",
      "url": "http://www.opensource.org/licenses/MIT"
    }
  ],
  "main": "./lib/passport-paypal-openidconnect",
  "maintainers": [
    {
      "name": "shekhei",
      "email": "shekhei@gmail.com"
    }
  ],
  "name": "passport-paypal-openidconnect",
  "optionalDependencies": {},
  "readme": "# Passport-PayPal-Openidconnect\n\n##This is a fork from Passport-PayPal-OAuth, to modify it to support openidconnect paypal auth instead(work in progress to complete the fork)\n\n\n[Passport](http://passportjs.org/) strategy for authenticating with [PayPal](http://www.paypal.com/)\nusing the OpenIDConnect API.\n\nThis module lets you authenticate using PayPal in your Node.js applications.\nBy plugging into Passport, PayPal authentication can be easily and\nunobtrusively integrated into any application or framework that supports\n[Connect](http://www.senchalabs.org/connect/)-style middleware, including\n[Express](http://expressjs.com/).\n\n## Install\n\n    $ npm install passport-paypal-openidconnect\n\n## Usage\n\n#### Configure Strategy\n\nThe PayPal authentication strategy authenticates users using a PayPal\naccount and OAuth 2.0 tokens.  The strategy requires a `verify` callback, which\naccepts these credentials and calls `done` providing a user, as well as\n`options` specifying a app ID, app secret, and callback URL.\n\n    passport.use(new PayPalStrategy({\n        clientID: PAYPAL_APP_ID,\n        clientSecret: PAYPAL_APP_SECRET,\n        callbackURL: \"http://localhost:3000/auth/paypal/callback\"\n        authorizationURL: \"https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize\",\n        tokenURL: \"https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/tokenservice\",\n        profileURL: \"https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/userinfo\"\n      },\n      function(accessToken, refreshToken, profile, done) {\n        User.findOrCreate({ paypalId: profile.id }, function (err, user) {\n          return done(err, user);\n        });\n      }\n    ));\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'paypal'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n    app.get('/auth/paypal',\n      passport.authenticate('paypal'));\n\n    app.get('/auth/paypal/callback', \n      passport.authenticate('paypal', { failureRedirect: '/login' }),\n      function(req, res) {\n        // Successful authentication, redirect home.\n        res.redirect('/');\n      });\n\n#### Providing nonce\nYou can provide a function to PayPalStrategy for the nonce\n\n    passport.use(new PayPalStrategy({\n        clientID: PAYPAL_APP_ID,\n        clientSecret: PAYPAL_APP_SECRET,\n        callbackURL: \"http://localhost:3000/auth/paypal/callback\"\n        authorizationURL: \"https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize\",\n        tokenURL: \"https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/tokenservice\",\n        profileURL: \"https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/userinfo\",\n        nonce: function(respond) {\n          respond(generateSomeId)\n        }\n      },\n      function(accessToken, refreshToken, profile, done) {\n        User.findOrCreate({ paypalId: profile.id }, function (err, user) {\n          return done(err, user);\n        });\n      }\n    ));\n\n## Tests\n\n    $ npm install --dev\n    $ make test\n\n[![Build Status](https://secure.travis-ci.org/jaredhanson/passport-paypal-oauth.png)](http://travis-ci.org/jaredhanson/passport-paypal-oauth)\n\n## Credits\n\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/shekhei/passport-paypal-openidconnect.git"
  },
  "scripts": {
    "test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js"
  },
  "version": "0.1.1"
}

Youez - 2016 - github.com/yon3zu
LinuXploit