├── .gitmodules
├── APIAuthorization
├── AWSResources.pdf
├── CloudformationTemplate
│ └── APIGateway.template
├── CustomAuthLambda
│ ├── CustomAuth.js
│ ├── node_modules
│ │ ├── jsonwebtoken
│ │ │ ├── .jshintrc
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── CHANGELOG.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── bin
│ │ │ │ └── changelog
│ │ │ ├── decode.js
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ │ ├── JsonWebTokenError.js
│ │ │ │ ├── NotBeforeError.js
│ │ │ │ ├── TokenExpiredError.js
│ │ │ │ └── timespan.js
│ │ │ ├── node_modules
│ │ │ │ ├── joi
│ │ │ │ │ ├── .eslintignore
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── API.md
│ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── examples
│ │ │ │ │ │ ├── conditionalRequire.js
│ │ │ │ │ │ ├── customMessage.js
│ │ │ │ │ │ └── multipleWhen.js
│ │ │ │ │ ├── generate-readme-toc.js
│ │ │ │ │ ├── images
│ │ │ │ │ │ ├── joi.png
│ │ │ │ │ │ └── validation.png
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── alternatives.js
│ │ │ │ │ │ ├── any.js
│ │ │ │ │ │ ├── array.js
│ │ │ │ │ │ ├── binary.js
│ │ │ │ │ │ ├── boolean.js
│ │ │ │ │ │ ├── cast.js
│ │ │ │ │ │ ├── date.js
│ │ │ │ │ │ ├── errors.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── language.js
│ │ │ │ │ │ ├── number.js
│ │ │ │ │ │ ├── object.js
│ │ │ │ │ │ ├── ref.js
│ │ │ │ │ │ ├── string.js
│ │ │ │ │ │ └── string
│ │ │ │ │ │ │ ├── ip.js
│ │ │ │ │ │ │ ├── rfc3986.js
│ │ │ │ │ │ │ └── uri.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── hoek
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── images
│ │ │ │ │ │ │ │ └── hoek.png
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── escape.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ ├── escaper.js
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ └── modules
│ │ │ │ │ │ │ │ ├── ignore.txt
│ │ │ │ │ │ │ │ ├── test1.js
│ │ │ │ │ │ │ │ ├── test2.js
│ │ │ │ │ │ │ │ └── test3.js
│ │ │ │ │ │ ├── isemail
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── isemail.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ ├── isemail.js
│ │ │ │ │ │ │ │ ├── mocha.opts
│ │ │ │ │ │ │ │ └── tests.json
│ │ │ │ │ │ ├── moment
│ │ │ │ │ │ │ ├── CHANGELOG.md
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── ender.js
│ │ │ │ │ │ │ ├── locale
│ │ │ │ │ │ │ │ ├── af.js
│ │ │ │ │ │ │ │ ├── ar-ly.js
│ │ │ │ │ │ │ │ ├── ar-ma.js
│ │ │ │ │ │ │ │ ├── ar-sa.js
│ │ │ │ │ │ │ │ ├── ar-tn.js
│ │ │ │ │ │ │ │ ├── ar.js
│ │ │ │ │ │ │ │ ├── az.js
│ │ │ │ │ │ │ │ ├── be.js
│ │ │ │ │ │ │ │ ├── bg.js
│ │ │ │ │ │ │ │ ├── bn.js
│ │ │ │ │ │ │ │ ├── bo.js
│ │ │ │ │ │ │ │ ├── br.js
│ │ │ │ │ │ │ │ ├── bs.js
│ │ │ │ │ │ │ │ ├── ca.js
│ │ │ │ │ │ │ │ ├── cs.js
│ │ │ │ │ │ │ │ ├── cv.js
│ │ │ │ │ │ │ │ ├── cy.js
│ │ │ │ │ │ │ │ ├── da.js
│ │ │ │ │ │ │ │ ├── de-at.js
│ │ │ │ │ │ │ │ ├── de.js
│ │ │ │ │ │ │ │ ├── dv.js
│ │ │ │ │ │ │ │ ├── el.js
│ │ │ │ │ │ │ │ ├── en-au.js
│ │ │ │ │ │ │ │ ├── en-ca.js
│ │ │ │ │ │ │ │ ├── en-gb.js
│ │ │ │ │ │ │ │ ├── en-ie.js
│ │ │ │ │ │ │ │ ├── en-nz.js
│ │ │ │ │ │ │ │ ├── eo.js
│ │ │ │ │ │ │ │ ├── es-do.js
│ │ │ │ │ │ │ │ ├── es.js
│ │ │ │ │ │ │ │ ├── et.js
│ │ │ │ │ │ │ │ ├── eu.js
│ │ │ │ │ │ │ │ ├── fa.js
│ │ │ │ │ │ │ │ ├── fi.js
│ │ │ │ │ │ │ │ ├── fo.js
│ │ │ │ │ │ │ │ ├── fr-ca.js
│ │ │ │ │ │ │ │ ├── fr-ch.js
│ │ │ │ │ │ │ │ ├── fr.js
│ │ │ │ │ │ │ │ ├── fy.js
│ │ │ │ │ │ │ │ ├── gd.js
│ │ │ │ │ │ │ │ ├── gl.js
│ │ │ │ │ │ │ │ ├── he.js
│ │ │ │ │ │ │ │ ├── hi.js
│ │ │ │ │ │ │ │ ├── hr.js
│ │ │ │ │ │ │ │ ├── hu.js
│ │ │ │ │ │ │ │ ├── hy-am.js
│ │ │ │ │ │ │ │ ├── id.js
│ │ │ │ │ │ │ │ ├── is.js
│ │ │ │ │ │ │ │ ├── it.js
│ │ │ │ │ │ │ │ ├── ja.js
│ │ │ │ │ │ │ │ ├── jv.js
│ │ │ │ │ │ │ │ ├── ka.js
│ │ │ │ │ │ │ │ ├── kk.js
│ │ │ │ │ │ │ │ ├── km.js
│ │ │ │ │ │ │ │ ├── ko.js
│ │ │ │ │ │ │ │ ├── ky.js
│ │ │ │ │ │ │ │ ├── lb.js
│ │ │ │ │ │ │ │ ├── lo.js
│ │ │ │ │ │ │ │ ├── lt.js
│ │ │ │ │ │ │ │ ├── lv.js
│ │ │ │ │ │ │ │ ├── me.js
│ │ │ │ │ │ │ │ ├── mi.js
│ │ │ │ │ │ │ │ ├── mk.js
│ │ │ │ │ │ │ │ ├── ml.js
│ │ │ │ │ │ │ │ ├── mr.js
│ │ │ │ │ │ │ │ ├── ms-my.js
│ │ │ │ │ │ │ │ ├── ms.js
│ │ │ │ │ │ │ │ ├── my.js
│ │ │ │ │ │ │ │ ├── nb.js
│ │ │ │ │ │ │ │ ├── ne.js
│ │ │ │ │ │ │ │ ├── nl.js
│ │ │ │ │ │ │ │ ├── nn.js
│ │ │ │ │ │ │ │ ├── pa-in.js
│ │ │ │ │ │ │ │ ├── pl.js
│ │ │ │ │ │ │ │ ├── pt-br.js
│ │ │ │ │ │ │ │ ├── pt.js
│ │ │ │ │ │ │ │ ├── ro.js
│ │ │ │ │ │ │ │ ├── ru.js
│ │ │ │ │ │ │ │ ├── se.js
│ │ │ │ │ │ │ │ ├── si.js
│ │ │ │ │ │ │ │ ├── sk.js
│ │ │ │ │ │ │ │ ├── sl.js
│ │ │ │ │ │ │ │ ├── sq.js
│ │ │ │ │ │ │ │ ├── sr-cyrl.js
│ │ │ │ │ │ │ │ ├── sr.js
│ │ │ │ │ │ │ │ ├── ss.js
│ │ │ │ │ │ │ │ ├── sv.js
│ │ │ │ │ │ │ │ ├── sw.js
│ │ │ │ │ │ │ │ ├── ta.js
│ │ │ │ │ │ │ │ ├── te.js
│ │ │ │ │ │ │ │ ├── th.js
│ │ │ │ │ │ │ │ ├── tl-ph.js
│ │ │ │ │ │ │ │ ├── tlh.js
│ │ │ │ │ │ │ │ ├── tr.js
│ │ │ │ │ │ │ │ ├── tzl.js
│ │ │ │ │ │ │ │ ├── tzm-latn.js
│ │ │ │ │ │ │ │ ├── tzm.js
│ │ │ │ │ │ │ │ ├── uk.js
│ │ │ │ │ │ │ │ ├── uz.js
│ │ │ │ │ │ │ │ ├── vi.js
│ │ │ │ │ │ │ │ ├── x-pseudo.js
│ │ │ │ │ │ │ │ ├── zh-cn.js
│ │ │ │ │ │ │ │ ├── zh-hk.js
│ │ │ │ │ │ │ │ └── zh-tw.js
│ │ │ │ │ │ │ ├── min
│ │ │ │ │ │ │ │ ├── locales.js
│ │ │ │ │ │ │ │ ├── locales.min.js
│ │ │ │ │ │ │ │ ├── moment-with-locales.js
│ │ │ │ │ │ │ │ ├── moment-with-locales.min.js
│ │ │ │ │ │ │ │ └── moment.min.js
│ │ │ │ │ │ │ ├── moment.d.ts
│ │ │ │ │ │ │ ├── moment.js
│ │ │ │ │ │ │ ├── package.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── src
│ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── create
│ │ │ │ │ │ │ │ │ ├── check-overflow.js
│ │ │ │ │ │ │ │ │ ├── date-from-array.js
│ │ │ │ │ │ │ │ │ ├── from-anything.js
│ │ │ │ │ │ │ │ │ ├── from-array.js
│ │ │ │ │ │ │ │ │ ├── from-object.js
│ │ │ │ │ │ │ │ │ ├── from-string-and-array.js
│ │ │ │ │ │ │ │ │ ├── from-string-and-format.js
│ │ │ │ │ │ │ │ │ ├── from-string.js
│ │ │ │ │ │ │ │ │ ├── local.js
│ │ │ │ │ │ │ │ │ ├── parsing-flags.js
│ │ │ │ │ │ │ │ │ ├── utc.js
│ │ │ │ │ │ │ │ │ └── valid.js
│ │ │ │ │ │ │ │ ├── duration
│ │ │ │ │ │ │ │ │ ├── abs.js
│ │ │ │ │ │ │ │ │ ├── add-subtract.js
│ │ │ │ │ │ │ │ │ ├── as.js
│ │ │ │ │ │ │ │ │ ├── bubble.js
│ │ │ │ │ │ │ │ │ ├── constructor.js
│ │ │ │ │ │ │ │ │ ├── create.js
│ │ │ │ │ │ │ │ │ ├── duration.js
│ │ │ │ │ │ │ │ │ ├── get.js
│ │ │ │ │ │ │ │ │ ├── humanize.js
│ │ │ │ │ │ │ │ │ ├── iso-string.js
│ │ │ │ │ │ │ │ │ └── prototype.js
│ │ │ │ │ │ │ │ ├── format
│ │ │ │ │ │ │ │ │ └── format.js
│ │ │ │ │ │ │ │ ├── locale
│ │ │ │ │ │ │ │ │ ├── base-config.js
│ │ │ │ │ │ │ │ │ ├── calendar.js
│ │ │ │ │ │ │ │ │ ├── constructor.js
│ │ │ │ │ │ │ │ │ ├── en.js
│ │ │ │ │ │ │ │ │ ├── formats.js
│ │ │ │ │ │ │ │ │ ├── invalid.js
│ │ │ │ │ │ │ │ │ ├── lists.js
│ │ │ │ │ │ │ │ │ ├── locale.js
│ │ │ │ │ │ │ │ │ ├── locales.js
│ │ │ │ │ │ │ │ │ ├── ordinal.js
│ │ │ │ │ │ │ │ │ ├── pre-post-format.js
│ │ │ │ │ │ │ │ │ ├── prototype.js
│ │ │ │ │ │ │ │ │ ├── relative.js
│ │ │ │ │ │ │ │ │ └── set.js
│ │ │ │ │ │ │ │ ├── moment
│ │ │ │ │ │ │ │ │ ├── add-subtract.js
│ │ │ │ │ │ │ │ │ ├── calendar.js
│ │ │ │ │ │ │ │ │ ├── clone.js
│ │ │ │ │ │ │ │ │ ├── compare.js
│ │ │ │ │ │ │ │ │ ├── constructor.js
│ │ │ │ │ │ │ │ │ ├── creation-data.js
│ │ │ │ │ │ │ │ │ ├── diff.js
│ │ │ │ │ │ │ │ │ ├── format.js
│ │ │ │ │ │ │ │ │ ├── from.js
│ │ │ │ │ │ │ │ │ ├── get-set.js
│ │ │ │ │ │ │ │ │ ├── locale.js
│ │ │ │ │ │ │ │ │ ├── min-max.js
│ │ │ │ │ │ │ │ │ ├── moment.js
│ │ │ │ │ │ │ │ │ ├── now.js
│ │ │ │ │ │ │ │ │ ├── prototype.js
│ │ │ │ │ │ │ │ │ ├── start-end-of.js
│ │ │ │ │ │ │ │ │ ├── to-type.js
│ │ │ │ │ │ │ │ │ ├── to.js
│ │ │ │ │ │ │ │ │ └── valid.js
│ │ │ │ │ │ │ │ ├── parse
│ │ │ │ │ │ │ │ │ ├── regex.js
│ │ │ │ │ │ │ │ │ └── token.js
│ │ │ │ │ │ │ │ ├── units
│ │ │ │ │ │ │ │ │ ├── aliases.js
│ │ │ │ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ │ │ │ ├── day-of-month.js
│ │ │ │ │ │ │ │ │ ├── day-of-week.js
│ │ │ │ │ │ │ │ │ ├── day-of-year.js
│ │ │ │ │ │ │ │ │ ├── hour.js
│ │ │ │ │ │ │ │ │ ├── millisecond.js
│ │ │ │ │ │ │ │ │ ├── minute.js
│ │ │ │ │ │ │ │ │ ├── month.js
│ │ │ │ │ │ │ │ │ ├── offset.js
│ │ │ │ │ │ │ │ │ ├── priorities.js
│ │ │ │ │ │ │ │ │ ├── quarter.js
│ │ │ │ │ │ │ │ │ ├── second.js
│ │ │ │ │ │ │ │ │ ├── timestamp.js
│ │ │ │ │ │ │ │ │ ├── timezone.js
│ │ │ │ │ │ │ │ │ ├── units.js
│ │ │ │ │ │ │ │ │ ├── week-calendar-utils.js
│ │ │ │ │ │ │ │ │ ├── week-year.js
│ │ │ │ │ │ │ │ │ ├── week.js
│ │ │ │ │ │ │ │ │ └── year.js
│ │ │ │ │ │ │ │ └── utils
│ │ │ │ │ │ │ │ │ ├── abs-ceil.js
│ │ │ │ │ │ │ │ │ ├── abs-floor.js
│ │ │ │ │ │ │ │ │ ├── abs-round.js
│ │ │ │ │ │ │ │ │ ├── compare-arrays.js
│ │ │ │ │ │ │ │ │ ├── defaults.js
│ │ │ │ │ │ │ │ │ ├── deprecate.js
│ │ │ │ │ │ │ │ │ ├── extend.js
│ │ │ │ │ │ │ │ │ ├── has-own-prop.js
│ │ │ │ │ │ │ │ │ ├── hooks.js
│ │ │ │ │ │ │ │ │ ├── index-of.js
│ │ │ │ │ │ │ │ │ ├── is-array.js
│ │ │ │ │ │ │ │ │ ├── is-date.js
│ │ │ │ │ │ │ │ │ ├── is-function.js
│ │ │ │ │ │ │ │ │ ├── is-object-empty.js
│ │ │ │ │ │ │ │ │ ├── is-object.js
│ │ │ │ │ │ │ │ │ ├── is-undefined.js
│ │ │ │ │ │ │ │ │ ├── keys.js
│ │ │ │ │ │ │ │ │ ├── map.js
│ │ │ │ │ │ │ │ │ ├── some.js
│ │ │ │ │ │ │ │ │ ├── to-int.js
│ │ │ │ │ │ │ │ │ └── zero-fill.js
│ │ │ │ │ │ │ │ ├── locale
│ │ │ │ │ │ │ │ ├── af.js
│ │ │ │ │ │ │ │ ├── ar-ly.js
│ │ │ │ │ │ │ │ ├── ar-ma.js
│ │ │ │ │ │ │ │ ├── ar-sa.js
│ │ │ │ │ │ │ │ ├── ar-tn.js
│ │ │ │ │ │ │ │ ├── ar.js
│ │ │ │ │ │ │ │ ├── az.js
│ │ │ │ │ │ │ │ ├── be.js
│ │ │ │ │ │ │ │ ├── bg.js
│ │ │ │ │ │ │ │ ├── bn.js
│ │ │ │ │ │ │ │ ├── bo.js
│ │ │ │ │ │ │ │ ├── br.js
│ │ │ │ │ │ │ │ ├── bs.js
│ │ │ │ │ │ │ │ ├── ca.js
│ │ │ │ │ │ │ │ ├── cs.js
│ │ │ │ │ │ │ │ ├── cv.js
│ │ │ │ │ │ │ │ ├── cy.js
│ │ │ │ │ │ │ │ ├── da.js
│ │ │ │ │ │ │ │ ├── de-at.js
│ │ │ │ │ │ │ │ ├── de.js
│ │ │ │ │ │ │ │ ├── dv.js
│ │ │ │ │ │ │ │ ├── el.js
│ │ │ │ │ │ │ │ ├── en-au.js
│ │ │ │ │ │ │ │ ├── en-ca.js
│ │ │ │ │ │ │ │ ├── en-gb.js
│ │ │ │ │ │ │ │ ├── en-ie.js
│ │ │ │ │ │ │ │ ├── en-nz.js
│ │ │ │ │ │ │ │ ├── eo.js
│ │ │ │ │ │ │ │ ├── es-do.js
│ │ │ │ │ │ │ │ ├── es.js
│ │ │ │ │ │ │ │ ├── et.js
│ │ │ │ │ │ │ │ ├── eu.js
│ │ │ │ │ │ │ │ ├── fa.js
│ │ │ │ │ │ │ │ ├── fi.js
│ │ │ │ │ │ │ │ ├── fo.js
│ │ │ │ │ │ │ │ ├── fr-ca.js
│ │ │ │ │ │ │ │ ├── fr-ch.js
│ │ │ │ │ │ │ │ ├── fr.js
│ │ │ │ │ │ │ │ ├── fy.js
│ │ │ │ │ │ │ │ ├── gd.js
│ │ │ │ │ │ │ │ ├── gl.js
│ │ │ │ │ │ │ │ ├── he.js
│ │ │ │ │ │ │ │ ├── hi.js
│ │ │ │ │ │ │ │ ├── hr.js
│ │ │ │ │ │ │ │ ├── hu.js
│ │ │ │ │ │ │ │ ├── hy-am.js
│ │ │ │ │ │ │ │ ├── id.js
│ │ │ │ │ │ │ │ ├── is.js
│ │ │ │ │ │ │ │ ├── it.js
│ │ │ │ │ │ │ │ ├── ja.js
│ │ │ │ │ │ │ │ ├── jv.js
│ │ │ │ │ │ │ │ ├── ka.js
│ │ │ │ │ │ │ │ ├── kk.js
│ │ │ │ │ │ │ │ ├── km.js
│ │ │ │ │ │ │ │ ├── ko.js
│ │ │ │ │ │ │ │ ├── ky.js
│ │ │ │ │ │ │ │ ├── lb.js
│ │ │ │ │ │ │ │ ├── lo.js
│ │ │ │ │ │ │ │ ├── lt.js
│ │ │ │ │ │ │ │ ├── lv.js
│ │ │ │ │ │ │ │ ├── me.js
│ │ │ │ │ │ │ │ ├── mi.js
│ │ │ │ │ │ │ │ ├── mk.js
│ │ │ │ │ │ │ │ ├── ml.js
│ │ │ │ │ │ │ │ ├── mr.js
│ │ │ │ │ │ │ │ ├── ms-my.js
│ │ │ │ │ │ │ │ ├── ms.js
│ │ │ │ │ │ │ │ ├── my.js
│ │ │ │ │ │ │ │ ├── nb.js
│ │ │ │ │ │ │ │ ├── ne.js
│ │ │ │ │ │ │ │ ├── nl.js
│ │ │ │ │ │ │ │ ├── nn.js
│ │ │ │ │ │ │ │ ├── pa-in.js
│ │ │ │ │ │ │ │ ├── pl.js
│ │ │ │ │ │ │ │ ├── pt-br.js
│ │ │ │ │ │ │ │ ├── pt.js
│ │ │ │ │ │ │ │ ├── ro.js
│ │ │ │ │ │ │ │ ├── ru.js
│ │ │ │ │ │ │ │ ├── se.js
│ │ │ │ │ │ │ │ ├── si.js
│ │ │ │ │ │ │ │ ├── sk.js
│ │ │ │ │ │ │ │ ├── sl.js
│ │ │ │ │ │ │ │ ├── sq.js
│ │ │ │ │ │ │ │ ├── sr-cyrl.js
│ │ │ │ │ │ │ │ ├── sr.js
│ │ │ │ │ │ │ │ ├── ss.js
│ │ │ │ │ │ │ │ ├── sv.js
│ │ │ │ │ │ │ │ ├── sw.js
│ │ │ │ │ │ │ │ ├── ta.js
│ │ │ │ │ │ │ │ ├── te.js
│ │ │ │ │ │ │ │ ├── th.js
│ │ │ │ │ │ │ │ ├── tl-ph.js
│ │ │ │ │ │ │ │ ├── tlh.js
│ │ │ │ │ │ │ │ ├── tr.js
│ │ │ │ │ │ │ │ ├── tzl.js
│ │ │ │ │ │ │ │ ├── tzm-latn.js
│ │ │ │ │ │ │ │ ├── tzm.js
│ │ │ │ │ │ │ │ ├── uk.js
│ │ │ │ │ │ │ │ ├── uz.js
│ │ │ │ │ │ │ │ ├── vi.js
│ │ │ │ │ │ │ │ ├── x-pseudo.js
│ │ │ │ │ │ │ │ ├── zh-cn.js
│ │ │ │ │ │ │ │ ├── zh-hk.js
│ │ │ │ │ │ │ │ └── zh-tw.js
│ │ │ │ │ │ │ │ └── moment.js
│ │ │ │ │ │ └── topo
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── API.md
│ │ │ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── alternatives.js
│ │ │ │ │ │ ├── any.js
│ │ │ │ │ │ ├── array.js
│ │ │ │ │ │ ├── binary.js
│ │ │ │ │ │ ├── boolean.js
│ │ │ │ │ │ ├── date.js
│ │ │ │ │ │ ├── errors.js
│ │ │ │ │ │ ├── function.js
│ │ │ │ │ │ ├── helper.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── number.js
│ │ │ │ │ │ ├── object.js
│ │ │ │ │ │ ├── ref.js
│ │ │ │ │ │ └── string.js
│ │ │ │ ├── jws
│ │ │ │ │ ├── .jshintrc
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── CHANGELOG.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── data-stream.js
│ │ │ │ │ │ ├── sign-stream.js
│ │ │ │ │ │ ├── tostring.js
│ │ │ │ │ │ └── verify-stream.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── .bin
│ │ │ │ │ │ │ └── base64url
│ │ │ │ │ │ ├── base64url
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── bin
│ │ │ │ │ │ │ │ └── base64url
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ ├── concat-stream
│ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ │ ├── inherits
│ │ │ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ │ │ ├── inherits.js
│ │ │ │ │ │ │ │ │ │ │ ├── inherits_browser.js
│ │ │ │ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ │ │ │ ├── readable-stream
│ │ │ │ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ │ │ ├── duplex.js
│ │ │ │ │ │ │ │ │ │ │ ├── float.patch
│ │ │ │ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ │ │ │ │ ├── _stream_duplex.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── _stream_passthrough.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── _stream_readable.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── _stream_transform.js
│ │ │ │ │ │ │ │ │ │ │ │ └── _stream_writable.js
│ │ │ │ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ │ │ │ ├── core-util-is
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── float.patch
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ │ │ │ │ │ │ └── util.js
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── isarray
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── build
│ │ │ │ │ │ │ │ │ │ │ │ │ │ └── build.js
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── component.json
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ │ │ │ │ │ └── string_decoder
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ ├── passthrough.js
│ │ │ │ │ │ │ │ │ │ │ ├── readable.js
│ │ │ │ │ │ │ │ │ │ │ ├── transform.js
│ │ │ │ │ │ │ │ │ │ │ └── writable.js
│ │ │ │ │ │ │ │ │ │ └── typedarray
│ │ │ │ │ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ │ │ ├── example
│ │ │ │ │ │ │ │ │ │ │ └── tarray.js
│ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ ├── readme.markdown
│ │ │ │ │ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ │ │ │ ├── server
│ │ │ │ │ │ │ │ │ │ │ └── undef_globals.js
│ │ │ │ │ │ │ │ │ │ │ └── tarray.js
│ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ └── meow
│ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ ├── .bin
│ │ │ │ │ │ │ │ │ │ └── indent-string
│ │ │ │ │ │ │ │ │ ├── camelcase-keys
│ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ │ │ ├── camelcase
│ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ │ │ └── map-obj
│ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ ├── indent-string
│ │ │ │ │ │ │ │ │ │ ├── cli.js
│ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ │ │ ├── .bin
│ │ │ │ │ │ │ │ │ │ │ │ └── repeating
│ │ │ │ │ │ │ │ │ │ │ ├── get-stdin
│ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ │ │ └── repeating
│ │ │ │ │ │ │ │ │ │ │ │ ├── cli.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ │ │ │ └── is-finite
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ │ │ │ │ └── number-is-nan
│ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ ├── minimist
│ │ │ │ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ │ ├── example
│ │ │ │ │ │ │ │ │ │ │ └── parse.js
│ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ ├── readme.markdown
│ │ │ │ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ │ │ │ ├── all_bool.js
│ │ │ │ │ │ │ │ │ │ │ ├── bool.js
│ │ │ │ │ │ │ │ │ │ │ ├── dash.js
│ │ │ │ │ │ │ │ │ │ │ ├── default_bool.js
│ │ │ │ │ │ │ │ │ │ │ ├── dotted.js
│ │ │ │ │ │ │ │ │ │ │ ├── kv_short.js
│ │ │ │ │ │ │ │ │ │ │ ├── long.js
│ │ │ │ │ │ │ │ │ │ │ ├── num.js
│ │ │ │ │ │ │ │ │ │ │ ├── parse.js
│ │ │ │ │ │ │ │ │ │ │ ├── parse_modified.js
│ │ │ │ │ │ │ │ │ │ │ ├── short.js
│ │ │ │ │ │ │ │ │ │ │ ├── stop_early.js
│ │ │ │ │ │ │ │ │ │ │ ├── unknown.js
│ │ │ │ │ │ │ │ │ │ │ └── whitespace.js
│ │ │ │ │ │ │ │ │ └── object-assign
│ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── readme.md
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ ├── base64url.test.js
│ │ │ │ │ │ │ │ └── test.jpg
│ │ │ │ │ │ └── jwa
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ ├── buffer-equal-constant-time
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ │ ├── LICENSE.txt
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ │ └── ecdsa-sig-formatter
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ └── base64-url
│ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── src
│ │ │ │ │ │ │ │ ├── ecdsa-sig-formatter.js
│ │ │ │ │ │ │ │ └── param-bytes-for-alg.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ └── jwa.test.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── readme.md
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── data.txt
│ │ │ │ │ │ └── jws.test.js
│ │ │ │ ├── lodash.once
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── ms
│ │ │ │ │ ├── LICENSE.md
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ └── xtend
│ │ │ │ │ ├── .jshintrc
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENCE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── immutable.js
│ │ │ │ │ ├── mutable.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test.js
│ │ │ ├── package.json
│ │ │ ├── sign.js
│ │ │ ├── test
│ │ │ │ ├── async_sign.tests.js
│ │ │ │ ├── buffer.tests.js
│ │ │ │ ├── encoding.tests.js
│ │ │ │ ├── expires_format.tests.js
│ │ │ │ ├── iat.tests.js
│ │ │ │ ├── invalid_exp.tests.js
│ │ │ │ ├── invalid_pub.pem
│ │ │ │ ├── issue_147.tests.js
│ │ │ │ ├── issue_196.tests.js
│ │ │ │ ├── issue_70.tests.js
│ │ │ │ ├── jwt.hs.tests.js
│ │ │ │ ├── jwt.rs.tests.js
│ │ │ │ ├── noTimestamp.tests.js
│ │ │ │ ├── non_object_values.tests.js
│ │ │ │ ├── priv.pem
│ │ │ │ ├── pub.pem
│ │ │ │ ├── rsa-private.pem
│ │ │ │ ├── rsa-public-key.pem
│ │ │ │ ├── rsa-public-key.tests.js
│ │ │ │ ├── rsa-public.pem
│ │ │ │ ├── set_headers.tests.js
│ │ │ │ ├── undefined_secretOrPublickey.tests.js
│ │ │ │ ├── util
│ │ │ │ │ └── fakeDate.js
│ │ │ │ ├── verify.tests.js
│ │ │ │ └── wrong_alg.tests.js
│ │ │ └── verify.js
│ │ └── request
│ │ │ ├── .eslintrc
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── CHANGELOG.md
│ │ │ ├── CONTRIBUTING.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── codecov.yml
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ ├── auth.js
│ │ │ ├── cookies.js
│ │ │ ├── getProxyFromURI.js
│ │ │ ├── har.js
│ │ │ ├── helpers.js
│ │ │ ├── multipart.js
│ │ │ ├── oauth.js
│ │ │ ├── querystring.js
│ │ │ ├── redirect.js
│ │ │ └── tunnel.js
│ │ │ ├── node_modules
│ │ │ ├── .bin
│ │ │ │ ├── har-validator
│ │ │ │ └── uuid
│ │ │ ├── aws-sign2
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── aws4
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .tern-port
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── aws4.js
│ │ │ │ ├── lru.js
│ │ │ │ └── package.json
│ │ │ ├── bl
│ │ │ │ ├── .jshintrc
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── bl.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── readable-stream
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── .zuul.yml
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── doc
│ │ │ │ │ │ ├── stream.markdown
│ │ │ │ │ │ └── wg-meetings
│ │ │ │ │ │ │ └── 2015-01-30.md
│ │ │ │ │ │ ├── duplex.js
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── _stream_duplex.js
│ │ │ │ │ │ ├── _stream_passthrough.js
│ │ │ │ │ │ ├── _stream_readable.js
│ │ │ │ │ │ ├── _stream_transform.js
│ │ │ │ │ │ └── _stream_writable.js
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── core-util-is
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── float.patch
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── util.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ ├── inherits
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── inherits.js
│ │ │ │ │ │ │ ├── inherits_browser.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── isarray
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── component.json
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ ├── process-nextick-args
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── license.md
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── readme.md
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ ├── string_decoder
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── util-deprecate
│ │ │ │ │ │ │ ├── History.md
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── browser.js
│ │ │ │ │ │ │ ├── node.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ ├── passthrough.js
│ │ │ │ │ │ ├── readable.js
│ │ │ │ │ │ ├── transform.js
│ │ │ │ │ │ └── writable.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ └── test.js
│ │ │ ├── caseless
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── combined-stream
│ │ │ │ ├── License
│ │ │ │ ├── Readme.md
│ │ │ │ ├── lib
│ │ │ │ │ └── combined_stream.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── delayed-stream
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── License
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── Readme.md
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ └── delayed_stream.js
│ │ │ │ │ │ └── package.json
│ │ │ │ └── package.json
│ │ │ ├── extend
│ │ │ │ ├── .eslintrc
│ │ │ │ ├── .jscs.json
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── component.json
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── forever-agent
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── form-data
│ │ │ │ ├── License
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── form_data.js
│ │ │ │ │ └── populate.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── asynckit
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── bench.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── abort.js
│ │ │ │ │ │ ├── async.js
│ │ │ │ │ │ ├── defer.js
│ │ │ │ │ │ ├── iterate.js
│ │ │ │ │ │ ├── readable_asynckit.js
│ │ │ │ │ │ ├── readable_parallel.js
│ │ │ │ │ │ ├── readable_serial.js
│ │ │ │ │ │ ├── readable_serial_ordered.js
│ │ │ │ │ │ ├── state.js
│ │ │ │ │ │ ├── streamify.js
│ │ │ │ │ │ └── terminator.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ ├── parallel.js
│ │ │ │ │ │ ├── serial.js
│ │ │ │ │ │ ├── serialOrdered.js
│ │ │ │ │ │ └── stream.js
│ │ │ │ └── package.json
│ │ │ ├── har-validator
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── bin
│ │ │ │ │ └── har-validator
│ │ │ │ ├── lib
│ │ │ │ │ ├── async.js
│ │ │ │ │ ├── error.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── runner.js
│ │ │ │ │ └── schemas
│ │ │ │ │ │ ├── cache.json
│ │ │ │ │ │ ├── cacheEntry.json
│ │ │ │ │ │ ├── content.json
│ │ │ │ │ │ ├── cookie.json
│ │ │ │ │ │ ├── creator.json
│ │ │ │ │ │ ├── entry.json
│ │ │ │ │ │ ├── har.json
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── log.json
│ │ │ │ │ │ ├── page.json
│ │ │ │ │ │ ├── pageTimings.json
│ │ │ │ │ │ ├── postData.json
│ │ │ │ │ │ ├── record.json
│ │ │ │ │ │ ├── request.json
│ │ │ │ │ │ ├── response.json
│ │ │ │ │ │ └── timings.json
│ │ │ │ ├── node_modules
│ │ │ │ │ ├── chalk
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── license
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ ├── ansi-styles
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ ├── escape-string-regexp
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ ├── has-ansi
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ └── ansi-regex
│ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ ├── strip-ansi
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ └── ansi-regex
│ │ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ │ └── supports-color
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── readme.md
│ │ │ │ │ ├── commander
│ │ │ │ │ │ ├── History.md
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── Readme.md
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ └── graceful-readlink
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── is-my-json-valid
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── example.js
│ │ │ │ │ │ ├── formats.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ ├── generate-function
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── example.js
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ │ ├── generate-object-property
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ │ └── is-property
│ │ │ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ │ ├── is-property.js
│ │ │ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ │ ├── jsonpointer
│ │ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── jsonpointer.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ │ └── xtend
│ │ │ │ │ │ │ │ ├── .jshintrc
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── LICENCE
│ │ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── immutable.js
│ │ │ │ │ │ │ │ ├── mutable.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ ├── require.js
│ │ │ │ │ │ └── test
│ │ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ │ └── cosmic.js
│ │ │ │ │ │ │ ├── json-schema-draft4
│ │ │ │ │ │ │ ├── additionalItems.json
│ │ │ │ │ │ │ ├── additionalProperties.json
│ │ │ │ │ │ │ ├── allOf.json
│ │ │ │ │ │ │ ├── anyOf.json
│ │ │ │ │ │ │ ├── bignum.json
│ │ │ │ │ │ │ ├── default.json
│ │ │ │ │ │ │ ├── definitions.json
│ │ │ │ │ │ │ ├── dependencies.json
│ │ │ │ │ │ │ ├── enum.json
│ │ │ │ │ │ │ ├── format.json
│ │ │ │ │ │ │ ├── items.json
│ │ │ │ │ │ │ ├── maxItems.json
│ │ │ │ │ │ │ ├── maxLength.json
│ │ │ │ │ │ │ ├── maxProperties.json
│ │ │ │ │ │ │ ├── maximum.json
│ │ │ │ │ │ │ ├── minItems.json
│ │ │ │ │ │ │ ├── minLength.json
│ │ │ │ │ │ │ ├── minProperties.json
│ │ │ │ │ │ │ ├── minimum.json
│ │ │ │ │ │ │ ├── multipleOf.json
│ │ │ │ │ │ │ ├── not.json
│ │ │ │ │ │ │ ├── nullAndFormat.json
│ │ │ │ │ │ │ ├── nullAndObject.json
│ │ │ │ │ │ │ ├── oneOf.json
│ │ │ │ │ │ │ ├── pattern.json
│ │ │ │ │ │ │ ├── patternProperties.json
│ │ │ │ │ │ │ ├── properties.json
│ │ │ │ │ │ │ ├── ref.json
│ │ │ │ │ │ │ ├── refRemote.json
│ │ │ │ │ │ │ ├── required.json
│ │ │ │ │ │ │ ├── type.json
│ │ │ │ │ │ │ └── uniqueItems.json
│ │ │ │ │ │ │ ├── json-schema.js
│ │ │ │ │ │ │ └── misc.js
│ │ │ │ │ └── pinkie-promise
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── license
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── pinkie
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── readme.md
│ │ │ │ └── package.json
│ │ │ ├── hawk
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── bower.json
│ │ │ │ ├── component.json
│ │ │ │ ├── dist
│ │ │ │ │ └── client.js
│ │ │ │ ├── example
│ │ │ │ │ └── usage.js
│ │ │ │ ├── images
│ │ │ │ │ ├── hawk.png
│ │ │ │ │ └── logo.png
│ │ │ │ ├── lib
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── client.js
│ │ │ │ │ ├── crypto.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── server.js
│ │ │ │ │ └── utils.js
│ │ │ │ ├── node_modules
│ │ │ │ │ ├── boom
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── images
│ │ │ │ │ │ │ └── boom.png
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── test
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── cryptiles
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── test
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── hoek
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── images
│ │ │ │ │ │ │ └── hoek.png
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ ├── escape.js
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── test
│ │ │ │ │ │ │ ├── escaper.js
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ └── modules
│ │ │ │ │ │ │ ├── ignore.txt
│ │ │ │ │ │ │ ├── test1.js
│ │ │ │ │ │ │ ├── test2.js
│ │ │ │ │ │ │ └── test3.js
│ │ │ │ │ └── sntp
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── examples
│ │ │ │ │ │ ├── offset.js
│ │ │ │ │ │ └── time.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── client.js
│ │ │ │ │ ├── crypto.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── readme.js
│ │ │ │ │ ├── server.js
│ │ │ │ │ ├── uri.js
│ │ │ │ │ └── utils.js
│ │ │ ├── http-signature
│ │ │ │ ├── .dir-locals.el
│ │ │ │ ├── .npmignore
│ │ │ │ ├── CHANGES.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── http_signing.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── parser.js
│ │ │ │ │ ├── signer.js
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── verify.js
│ │ │ │ ├── node_modules
│ │ │ │ │ ├── .bin
│ │ │ │ │ │ ├── sshpk-conv
│ │ │ │ │ │ ├── sshpk-sign
│ │ │ │ │ │ └── sshpk-verify
│ │ │ │ │ ├── assert-plus
│ │ │ │ │ │ ├── AUTHORS
│ │ │ │ │ │ ├── CHANGES.md
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── assert.js
│ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── jsprim
│ │ │ │ │ │ ├── CHANGES.md
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── jsprim.js
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ ├── extsprintf
│ │ │ │ │ │ │ │ ├── .gitmodules
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ │ ├── Makefile.deps
│ │ │ │ │ │ │ │ ├── Makefile.targ
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── examples
│ │ │ │ │ │ │ │ │ └── simple.js
│ │ │ │ │ │ │ │ ├── jsl.node.conf
│ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ │ └── extsprintf.js
│ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ ├── json-schema
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── draft-00
│ │ │ │ │ │ │ │ │ ├── hyper-schema
│ │ │ │ │ │ │ │ │ ├── json-ref
│ │ │ │ │ │ │ │ │ ├── links
│ │ │ │ │ │ │ │ │ └── schema
│ │ │ │ │ │ │ │ ├── draft-01
│ │ │ │ │ │ │ │ │ ├── hyper-schema
│ │ │ │ │ │ │ │ │ ├── json-ref
│ │ │ │ │ │ │ │ │ ├── links
│ │ │ │ │ │ │ │ │ └── schema
│ │ │ │ │ │ │ │ ├── draft-02
│ │ │ │ │ │ │ │ │ ├── hyper-schema
│ │ │ │ │ │ │ │ │ ├── json-ref
│ │ │ │ │ │ │ │ │ ├── links
│ │ │ │ │ │ │ │ │ └── schema
│ │ │ │ │ │ │ │ ├── draft-03
│ │ │ │ │ │ │ │ │ ├── examples
│ │ │ │ │ │ │ │ │ │ ├── address
│ │ │ │ │ │ │ │ │ │ ├── calendar
│ │ │ │ │ │ │ │ │ │ ├── card
│ │ │ │ │ │ │ │ │ │ ├── geo
│ │ │ │ │ │ │ │ │ │ └── interfaces
│ │ │ │ │ │ │ │ │ ├── hyper-schema
│ │ │ │ │ │ │ │ │ ├── json-ref
│ │ │ │ │ │ │ │ │ ├── links
│ │ │ │ │ │ │ │ │ └── schema
│ │ │ │ │ │ │ │ ├── draft-04
│ │ │ │ │ │ │ │ │ ├── hyper-schema
│ │ │ │ │ │ │ │ │ ├── links
│ │ │ │ │ │ │ │ │ └── schema
│ │ │ │ │ │ │ │ ├── draft-zyp-json-schema-03.xml
│ │ │ │ │ │ │ │ ├── draft-zyp-json-schema-04.xml
│ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ │ ├── links.js
│ │ │ │ │ │ │ │ │ └── validate.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ │ └── tests.js
│ │ │ │ │ │ │ └── verror
│ │ │ │ │ │ │ │ ├── .gitmodules
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ │ ├── Makefile.targ
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── examples
│ │ │ │ │ │ │ │ ├── levels-verror.js
│ │ │ │ │ │ │ │ ├── levels-werror.js
│ │ │ │ │ │ │ │ ├── varargs.js
│ │ │ │ │ │ │ │ ├── verror.js
│ │ │ │ │ │ │ │ └── werror.js
│ │ │ │ │ │ │ │ ├── jsl.node.conf
│ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── verror.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ │ ├── tst.inherit.js
│ │ │ │ │ │ │ │ ├── tst.verror.js
│ │ │ │ │ │ │ │ └── tst.werror.js
│ │ │ │ │ │ └── package.json
│ │ │ │ │ └── sshpk
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── bin
│ │ │ │ │ │ ├── sshpk-conv
│ │ │ │ │ │ ├── sshpk-sign
│ │ │ │ │ │ └── sshpk-verify
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── algs.js
│ │ │ │ │ │ ├── certificate.js
│ │ │ │ │ │ ├── dhe.js
│ │ │ │ │ │ ├── ed-compat.js
│ │ │ │ │ │ ├── errors.js
│ │ │ │ │ │ ├── fingerprint.js
│ │ │ │ │ │ ├── formats
│ │ │ │ │ │ │ ├── auto.js
│ │ │ │ │ │ │ ├── openssh-cert.js
│ │ │ │ │ │ │ ├── pem.js
│ │ │ │ │ │ │ ├── pkcs1.js
│ │ │ │ │ │ │ ├── pkcs8.js
│ │ │ │ │ │ │ ├── rfc4253.js
│ │ │ │ │ │ │ ├── ssh-private.js
│ │ │ │ │ │ │ ├── ssh.js
│ │ │ │ │ │ │ ├── x509-pem.js
│ │ │ │ │ │ │ └── x509.js
│ │ │ │ │ │ ├── identity.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── key.js
│ │ │ │ │ │ ├── private-key.js
│ │ │ │ │ │ ├── signature.js
│ │ │ │ │ │ ├── ssh-buffer.js
│ │ │ │ │ │ └── utils.js
│ │ │ │ │ │ ├── man
│ │ │ │ │ │ └── man1
│ │ │ │ │ │ │ ├── sshpk-conv.1
│ │ │ │ │ │ │ ├── sshpk-sign.1
│ │ │ │ │ │ │ └── sshpk-verify.1
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── asn1
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── ber
│ │ │ │ │ │ │ │ │ ├── errors.js
│ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ ├── reader.js
│ │ │ │ │ │ │ │ │ ├── types.js
│ │ │ │ │ │ │ │ │ └── writer.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── tst
│ │ │ │ │ │ │ │ └── ber
│ │ │ │ │ │ │ │ ├── reader.test.js
│ │ │ │ │ │ │ │ └── writer.test.js
│ │ │ │ │ │ ├── assert-plus
│ │ │ │ │ │ │ ├── AUTHORS
│ │ │ │ │ │ │ ├── CHANGES.md
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── assert.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── bcrypt-pbkdf
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ └── tweetnacl
│ │ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ │ ├── CHANGELOG.md
│ │ │ │ │ │ │ │ │ ├── COPYING.txt
│ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ ├── nacl-fast.js
│ │ │ │ │ │ │ │ │ ├── nacl-fast.min.js
│ │ │ │ │ │ │ │ │ ├── nacl.js
│ │ │ │ │ │ │ │ │ ├── nacl.min.js
│ │ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── dashdash
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── etc
│ │ │ │ │ │ │ │ └── dashdash.bash_completion.in
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── dashdash.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── ecc-jsbn
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── LICENSE-jsbn
│ │ │ │ │ │ │ │ ├── ec.js
│ │ │ │ │ │ │ │ └── sec.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ ├── getpass
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── jodid25519
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── AUTHORS.md
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── almond.0
│ │ │ │ │ │ │ ├── almond.1
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── jsdoc.json
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── core.js
│ │ │ │ │ │ │ │ ├── curve255.js
│ │ │ │ │ │ │ │ ├── dh.js
│ │ │ │ │ │ │ │ ├── eddsa.js
│ │ │ │ │ │ │ │ └── utils.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── jsbn
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── example.html
│ │ │ │ │ │ │ ├── example.js
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── tweetnacl
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── CHANGELOG.md
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── nacl-fast.js
│ │ │ │ │ │ │ ├── nacl-fast.min.js
│ │ │ │ │ │ │ ├── nacl.js
│ │ │ │ │ │ │ ├── nacl.min.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── package.json
│ │ │ │ └── package.json
│ │ │ ├── is-typedarray
│ │ │ │ ├── LICENSE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── isstream
│ │ │ │ ├── .jshintrc
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── isstream.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── json-stringify-safe
│ │ │ │ ├── .npmignore
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── README.md
│ │ │ │ ├── package.json
│ │ │ │ ├── stringify.js
│ │ │ │ └── test
│ │ │ │ │ ├── mocha.opts
│ │ │ │ │ └── stringify_test.js
│ │ │ ├── mime-types
│ │ │ │ ├── HISTORY.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── mime-db
│ │ │ │ │ │ ├── HISTORY.md
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── db.json
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── package.json
│ │ │ │ └── package.json
│ │ │ ├── node-uuid
│ │ │ │ ├── .npmignore
│ │ │ │ ├── LICENSE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── benchmark
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── bench.gnu
│ │ │ │ │ ├── bench.sh
│ │ │ │ │ ├── benchmark-native.c
│ │ │ │ │ └── benchmark.js
│ │ │ │ ├── bin
│ │ │ │ │ └── uuid
│ │ │ │ ├── bower.json
│ │ │ │ ├── component.json
│ │ │ │ ├── package.json
│ │ │ │ ├── test
│ │ │ │ │ ├── compare_v1.js
│ │ │ │ │ ├── test.html
│ │ │ │ │ └── test.js
│ │ │ │ └── uuid.js
│ │ │ ├── oauth-sign
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── qs
│ │ │ │ ├── .eslintignore
│ │ │ │ ├── .eslintrc
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── dist
│ │ │ │ │ └── qs.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── parse.js
│ │ │ │ │ ├── stringify.js
│ │ │ │ │ └── utils.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── parse.js
│ │ │ │ │ ├── stringify.js
│ │ │ │ │ └── utils.js
│ │ │ ├── stringstream
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── example.js
│ │ │ │ ├── package.json
│ │ │ │ └── stringstream.js
│ │ │ ├── tough-cookie
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── cookie.js
│ │ │ │ │ ├── memstore.js
│ │ │ │ │ ├── pathMatch.js
│ │ │ │ │ ├── permuteDomain.js
│ │ │ │ │ ├── pubsuffix.js
│ │ │ │ │ └── store.js
│ │ │ │ └── package.json
│ │ │ └── tunnel-agent
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── package.json
│ │ │ └── request.js
│ └── package.json
├── LICENSE
├── README.md
└── SinglePageApp
│ ├── css
│ ├── app.css
│ └── app.styl
│ ├── img
│ ├── identification.png
│ ├── loading.gif
│ ├── loading_black.gif
│ └── logo.png
│ └── index.html
├── LICENSE
├── README.md
├── cloudendure_demo
├── README.md
├── playbooks.tar.gz
├── playbooks
│ ├── aws_cli_ads_agent_install.yml
│ ├── cloudendure_agent_install.yml
│ ├── database_provision.yml
│ ├── files
│ │ ├── CloudEndure.sh
│ │ ├── CloudEndure_PostProcessing.py
│ │ └── aws_cli_config.j2
│ ├── gogs_provision.yml
│ ├── hosts
│ ├── migration_toolbox.yml
│ ├── test.yml
│ └── vars
│ │ ├── awscli.yml
│ │ ├── gogs.yml
│ │ └── mysql.yml
├── scripts
│ ├── CloudEndure.py
│ ├── CloudEndure_Pass_Fail.txt
│ ├── config.yml
│ ├── dms-lambda.zip
│ ├── ent312democloudendurelambda.zip
│ └── lambda_function.py
└── templates
│ ├── reinvent-ent312-cloudendure_lambda.template
│ ├── reinvent-ent312-lambda-dms-invoke.yml
│ ├── reinvent-ent312-lambda-dms-replicate.yml
│ ├── reinvent-ent312-lambda-dms-resource.yml
│ ├── reinvent-ent312-master.template
│ ├── reinvent-ent312-migrated-gogs.template
│ ├── reinvent-ent312-rds.template
│ ├── reinvent-ent312-source-instances.yml
│ └── reinvent-ent312-vpc.template
├── orchestrating
├── LICENSE
├── README.md
├── eb-iis-app-in-vpc.json
├── ecs-php-app-in-vpc.json
├── ecs-vpc-with-public-and-private-subnets.json
└── vpc-with-public-and-private-subnets.json
└── terraform_demo
├── .gitignore
├── LICENSE
├── README.md
├── autoscaling_groups
├── variables.tf
└── webapp-asg.tf
├── graph.png
├── instances
├── bastion.tf
├── private_subnet_instance.tf
└── variables.tf
├── launch_configurations
├── userdata.sh
├── variables.tf
└── webapp-lc.tf
├── load_balancers
├── variables.tf
└── webapp-elb.tf
├── main.tf
├── site
├── bastion-sg.tf
├── nat-sg.tf
├── pub_priv_vpc.tf
├── variables.tf
└── webapp-sg.tf
└── variables.tf
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "cloudendure_demo/playbooks/roles/geerlingguy.git"]
2 | path = cloudendure_demo/playbooks/roles/geerlingguy.git
3 | url = https://github.com/geerlingguy/ansible-role-git.git
4 | [submodule "cloudendure_demo/playbooks/roles/geerlingguy.mysql"]
5 | path = cloudendure_demo/playbooks/roles/geerlingguy.mysql
6 | url = https://github.com/geerlingguy/ansible-role-mysql.git
7 | [submodule "cloudendure_demo/playbooks/roles/mariadb"]
8 | path = cloudendure_demo/playbooks/roles/mariadb
9 | url = https://github.com/PCextreme/ansible-role-mariadb.git
10 | [submodule "cloudendure_demo/playbooks/roles/mysql"]
11 | path = cloudendure_demo/playbooks/roles/mysql
12 | url = https://github.com/bennojoy/mysql.git
13 | [submodule "cloudendure_demo/playbooks/roles/gogs"]
14 | path = cloudendure_demo/playbooks/roles/gogs
15 | url = https://github.com/mandusm/ansible-role-gogs.git
16 |
--------------------------------------------------------------------------------
/APIAuthorization/AWSResources.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/AWSResources.pdf
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "evil": true,
3 | "regexdash": true,
4 | "browser": true,
5 | "wsh": true,
6 | "trailing": true,
7 | "sub": true,
8 | "unused": true,
9 | "undef": true,
10 | "laxcomma": true,
11 | "node": true,
12 | "browser": false,
13 | "esnext": true,
14 | "globals": {
15 | "describe": true,
16 | "it": true,
17 | "require": true,
18 | "atob": false,
19 | "escape": true,
20 | "before": true
21 | }
22 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | before_install: npm i -g npm@1.4.28
3 | node_js:
4 | - "5"
5 | - "4"
6 | - "0.12"
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/decode.js:
--------------------------------------------------------------------------------
1 | var jws = require('jws');
2 |
3 | module.exports = function (jwt, options) {
4 | options = options || {};
5 | var decoded = jws.decode(jwt, options);
6 | if (!decoded) { return null; }
7 | var payload = decoded.payload;
8 |
9 | //try parse the payload
10 | if(typeof payload === 'string') {
11 | try {
12 | var obj = JSON.parse(payload);
13 | if(typeof obj === 'object') {
14 | payload = obj;
15 | }
16 | } catch (e) { }
17 | }
18 |
19 | //return header if `complete` option is enabled. header includes claims
20 | //such as `kid` and `alg` used to select the key within a JWKS needed to
21 | //verify the signature
22 | if (options.complete === true) {
23 | return {
24 | header: decoded.header,
25 | payload: payload,
26 | signature: decoded.signature
27 | };
28 | }
29 | return payload;
30 | };
31 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | decode: require('./decode'),
3 | verify: require('./verify'),
4 | sign: require('./sign'),
5 | JsonWebTokenError: require('./lib/JsonWebTokenError'),
6 | NotBeforeError: require('./lib/NotBeforeError'),
7 | TokenExpiredError: require('./lib/TokenExpiredError'),
8 | };
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/lib/JsonWebTokenError.js:
--------------------------------------------------------------------------------
1 | var JsonWebTokenError = function (message, error) {
2 | Error.call(this, message);
3 | Error.captureStackTrace(this, this.constructor);
4 | this.name = 'JsonWebTokenError';
5 | this.message = message;
6 | if (error) this.inner = error;
7 | };
8 |
9 | JsonWebTokenError.prototype = Object.create(Error.prototype);
10 | JsonWebTokenError.prototype.constructor = JsonWebTokenError;
11 |
12 | module.exports = JsonWebTokenError;
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/lib/NotBeforeError.js:
--------------------------------------------------------------------------------
1 | var JsonWebTokenError = require('./JsonWebTokenError');
2 |
3 | var NotBeforeError = function (message, date) {
4 | JsonWebTokenError.call(this, message);
5 | this.name = 'NotBeforeError';
6 | this.date = date;
7 | };
8 |
9 | NotBeforeError.prototype = Object.create(JsonWebTokenError.prototype);
10 |
11 | NotBeforeError.prototype.constructor = NotBeforeError;
12 |
13 | module.exports = NotBeforeError;
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/lib/TokenExpiredError.js:
--------------------------------------------------------------------------------
1 | var JsonWebTokenError = require('./JsonWebTokenError');
2 |
3 | var TokenExpiredError = function (message, expiredAt) {
4 | JsonWebTokenError.call(this, message);
5 | this.name = 'TokenExpiredError';
6 | this.expiredAt = expiredAt;
7 | };
8 |
9 | TokenExpiredError.prototype = Object.create(JsonWebTokenError.prototype);
10 |
11 | TokenExpiredError.prototype.constructor = TokenExpiredError;
12 |
13 | module.exports = TokenExpiredError;
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/lib/timespan.js:
--------------------------------------------------------------------------------
1 | var ms = require('ms');
2 |
3 | module.exports = function (time, iat) {
4 | var timestamp = iat || Math.floor(Date.now() / 1000);
5 |
6 | if (typeof time === 'string') {
7 | var milliseconds = ms(time);
8 | if (typeof milliseconds === 'undefined') {
9 | return;
10 | }
11 | return Math.floor(timestamp + milliseconds / 1000);
12 | } else if (typeof time === 'number') {
13 | return timestamp + time;
14 | } else {
15 | return;
16 | }
17 |
18 | };
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/.eslintignore:
--------------------------------------------------------------------------------
1 | examples
2 | sandbox.js
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/.npmignore:
--------------------------------------------------------------------------------
1 | .c9
2 | .idea
3 | .project
4 | *.iml
5 | npm-debug.log
6 | dump.rdb
7 | node_modules
8 | results.tap
9 | results.xml
10 | npm-shrinkwrap.json
11 | config.json
12 | .DS_Store
13 | */.DS_Store
14 | */*/.DS_Store
15 | ._*
16 | */._*
17 | */*/._*
18 | coverage.*
19 | lib-cov
20 | complexity.md
21 | sandbox.js
22 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - "0.10"
5 | - "4.0"
6 | - "4"
7 | - "5"
8 |
9 | sudo: false
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/examples/multipleWhen.js:
--------------------------------------------------------------------------------
1 | var Joi = require('../');
2 |
3 |
4 | var schema = {
5 | type: Joi.string().required(),
6 | subtype: Joi.alternatives()
7 | .when('type', {is: 'video', then: Joi.valid('mp4', 'wav')})
8 | .when('type', {is: 'audio', then: Joi.valid('mp3')})
9 | .when('type', {is: 'image', then: Joi.valid('jpg', 'png')})
10 | .when('type', {is: 'pdf' , then: Joi.valid('document')})
11 | };
12 |
13 |
14 | Joi.assert({ type: 'video', subtype: 'mp4' }, schema); // Pass
15 | Joi.assert({ type: 'video', subtype: 'wav' }, schema); // Pass
16 | Joi.assert({ type: 'other', subtype: 'something' }, schema); // Fail
17 | Joi.assert({ type: 'audio', subtype: 'mp4' }, schema); // Fail
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/generate-readme-toc.js:
--------------------------------------------------------------------------------
1 | var Toc = require('markdown-toc');
2 | var Fs = require('fs');
3 | var Package = require('./package.json');
4 |
5 | var filename = './API.md';
6 |
7 | var api = Fs.readFileSync(filename, 'utf8');
8 | var tocOptions = {
9 | bullets: '-',
10 | slugify: function (text) {
11 |
12 | return text.toLowerCase()
13 | .replace(/\s/g, '-')
14 | .replace(/[^\w-]/g, '');
15 | }
16 | };
17 |
18 | var output = Toc.insert(api, tocOptions)
19 | .replace(/(.|\n)*/, '\n# ' + Package.version + ' API Reference\n');
20 |
21 | Fs.writeFileSync(filename, output);
22 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/images/joi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/images/joi.png
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/images/validation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/images/validation.png
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/lib/string/uri.js:
--------------------------------------------------------------------------------
1 | var RFC3986 = require('./rfc3986');
2 |
3 | var internals = {
4 | Uri: {
5 | createUriRegex: function (optionalScheme) {
6 |
7 | var scheme = RFC3986.scheme;
8 |
9 | // If we were passed a scheme, use it instead of the generic one
10 | if (optionalScheme) {
11 |
12 | // Have to put this in a non-capturing group to handle the OR statements
13 | scheme = '(?:' + optionalScheme + ')';
14 | }
15 |
16 | /**
17 | * URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
18 | */
19 | return new RegExp('^' + scheme + ':' + RFC3986.hierPart + '(?:\\?' + RFC3986.query + ')?' + '(?:#' + RFC3986.fragment + ')?$');
20 | }
21 | }
22 | };
23 |
24 | module.exports = internals.Uri;
25 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | results.tap
7 | results.xml
8 | npm-shrinkwrap.json
9 | config.json
10 | .DS_Store
11 | */.DS_Store
12 | */*/.DS_Store
13 | ._*
14 | */._*
15 | */*/._*
16 | coverage.*
17 | lib-cov
18 | complexity.md
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
5 | - 4.0
6 |
7 | sudo: false
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md).
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/images/hoek.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/images/hoek.png
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/test/modules/ignore.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/test/modules/ignore.txt
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/test/modules/test1.js:
--------------------------------------------------------------------------------
1 | exports.x = 1;
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/test/modules/test2.js:
--------------------------------------------------------------------------------
1 | exports.y = 2;
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/hoek/test/modules/test3.js:
--------------------------------------------------------------------------------
1 | exports.z = 3;
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/isemail/.npmignore:
--------------------------------------------------------------------------------
1 | /coverage.html
2 | /coverage.lcov
3 | /node_modules
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/isemail/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "4.0"
5 | sudo: false
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/isemail/Makefile:
--------------------------------------------------------------------------------
1 | test:
2 | npm test
3 |
4 | .PHONY: test
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/isemail/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/isemail');
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/isemail/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --reporter dot
2 | --check-leaks
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/ender.js:
--------------------------------------------------------------------------------
1 | $.ender({ moment: require('moment') })
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/package.js:
--------------------------------------------------------------------------------
1 | var profile = {
2 | resourceTags: {
3 | ignore: function(filename, mid){
4 | // only include moment/moment
5 | return mid != "moment/moment";
6 | },
7 | amd: function(filename, mid){
8 | return /\.js$/.test(filename);
9 | }
10 | }
11 | };
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/create/date-from-array.js:
--------------------------------------------------------------------------------
1 | export function createDate (y, m, d, h, M, s, ms) {
2 | //can't just apply() to create a date:
3 | //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply
4 | var date = new Date(y, m, d, h, M, s, ms);
5 |
6 | //the date constructor remaps years 0-99 to 1900-1999
7 | if (y < 100 && y >= 0 && isFinite(date.getFullYear())) {
8 | date.setFullYear(y);
9 | }
10 | return date;
11 | }
12 |
13 | export function createUTCDate (y) {
14 | var date = new Date(Date.UTC.apply(null, arguments));
15 |
16 | //the Date.UTC function remaps years 0-99 to 1900-1999
17 | if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) {
18 | date.setUTCFullYear(y);
19 | }
20 | return date;
21 | }
22 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/create/from-object.js:
--------------------------------------------------------------------------------
1 | import { normalizeObjectUnits } from '../units/aliases';
2 | import { configFromArray } from './from-array';
3 | import map from '../utils/map';
4 |
5 | export function configFromObject(config) {
6 | if (config._d) {
7 | return;
8 | }
9 |
10 | var i = normalizeObjectUnits(config._i);
11 | config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) {
12 | return obj && parseInt(obj, 10);
13 | });
14 |
15 | configFromArray(config);
16 | }
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/create/local.js:
--------------------------------------------------------------------------------
1 | import { createLocalOrUTC } from './from-anything';
2 |
3 | export function createLocal (input, format, locale, strict) {
4 | return createLocalOrUTC(input, format, locale, strict, false);
5 | }
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/create/parsing-flags.js:
--------------------------------------------------------------------------------
1 | function defaultParsingFlags() {
2 | // We need to deep clone this object.
3 | return {
4 | empty : false,
5 | unusedTokens : [],
6 | unusedInput : [],
7 | overflow : -2,
8 | charsLeftOver : 0,
9 | nullInput : false,
10 | invalidMonth : null,
11 | invalidFormat : false,
12 | userInvalidated : false,
13 | iso : false,
14 | parsedDateParts : [],
15 | meridiem : null
16 | };
17 | }
18 |
19 | export default function getParsingFlags(m) {
20 | if (m._pf == null) {
21 | m._pf = defaultParsingFlags();
22 | }
23 | return m._pf;
24 | }
25 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/create/utc.js:
--------------------------------------------------------------------------------
1 | import { createLocalOrUTC } from './from-anything';
2 |
3 | export function createUTC (input, format, locale, strict) {
4 | return createLocalOrUTC(input, format, locale, strict, true).utc();
5 | }
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/duration/abs.js:
--------------------------------------------------------------------------------
1 | var mathAbs = Math.abs;
2 |
3 | export function abs () {
4 | var data = this._data;
5 |
6 | this._milliseconds = mathAbs(this._milliseconds);
7 | this._days = mathAbs(this._days);
8 | this._months = mathAbs(this._months);
9 |
10 | data.milliseconds = mathAbs(data.milliseconds);
11 | data.seconds = mathAbs(data.seconds);
12 | data.minutes = mathAbs(data.minutes);
13 | data.hours = mathAbs(data.hours);
14 | data.months = mathAbs(data.months);
15 | data.years = mathAbs(data.years);
16 |
17 | return this;
18 | }
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/duration/add-subtract.js:
--------------------------------------------------------------------------------
1 | import { createDuration } from './create';
2 |
3 | function addSubtract (duration, input, value, direction) {
4 | var other = createDuration(input, value);
5 |
6 | duration._milliseconds += direction * other._milliseconds;
7 | duration._days += direction * other._days;
8 | duration._months += direction * other._months;
9 |
10 | return duration._bubble();
11 | }
12 |
13 | // supports only 2.0-style add(1, 's') or add(duration)
14 | export function add (input, value) {
15 | return addSubtract(this, input, value, 1);
16 | }
17 |
18 | // supports only 2.0-style subtract(1, 's') or subtract(duration)
19 | export function subtract (input, value) {
20 | return addSubtract(this, input, value, -1);
21 | }
22 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/duration/duration.js:
--------------------------------------------------------------------------------
1 | // Side effect imports
2 | import './prototype';
3 |
4 | import { createDuration } from './create';
5 | import { isDuration } from './constructor';
6 | import {
7 | getSetRelativeTimeRounding,
8 | getSetRelativeTimeThreshold
9 | } from './humanize';
10 |
11 | export {
12 | createDuration,
13 | isDuration,
14 | getSetRelativeTimeRounding,
15 | getSetRelativeTimeThreshold
16 | };
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/duration/get.js:
--------------------------------------------------------------------------------
1 | import { normalizeUnits } from '../units/aliases';
2 | import absFloor from '../utils/abs-floor';
3 |
4 | export function get (units) {
5 | units = normalizeUnits(units);
6 | return this[units + 's']();
7 | }
8 |
9 | function makeGetter(name) {
10 | return function () {
11 | return this._data[name];
12 | };
13 | }
14 |
15 | export var milliseconds = makeGetter('milliseconds');
16 | export var seconds = makeGetter('seconds');
17 | export var minutes = makeGetter('minutes');
18 | export var hours = makeGetter('hours');
19 | export var days = makeGetter('days');
20 | export var months = makeGetter('months');
21 | export var years = makeGetter('years');
22 |
23 | export function weeks () {
24 | return absFloor(this.days() / 7);
25 | }
26 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/locale/calendar.js:
--------------------------------------------------------------------------------
1 | export var defaultCalendar = {
2 | sameDay : '[Today at] LT',
3 | nextDay : '[Tomorrow at] LT',
4 | nextWeek : 'dddd [at] LT',
5 | lastDay : '[Yesterday at] LT',
6 | lastWeek : '[Last] dddd [at] LT',
7 | sameElse : 'L'
8 | };
9 |
10 | import isFunction from '../utils/is-function';
11 |
12 | export function calendar (key, mom, now) {
13 | var output = this._calendar[key] || this._calendar['sameElse'];
14 | return isFunction(output) ? output.call(mom, now) : output;
15 | }
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/locale/constructor.js:
--------------------------------------------------------------------------------
1 | export function Locale(config) {
2 | if (config != null) {
3 | this.set(config);
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/locale/en.js:
--------------------------------------------------------------------------------
1 | import './prototype';
2 | import { getSetGlobalLocale } from './locales';
3 | import toInt from '../utils/to-int';
4 |
5 | getSetGlobalLocale('en', {
6 | ordinalParse: /\d{1,2}(th|st|nd|rd)/,
7 | ordinal : function (number) {
8 | var b = number % 10,
9 | output = (toInt(number % 100 / 10) === 1) ? 'th' :
10 | (b === 1) ? 'st' :
11 | (b === 2) ? 'nd' :
12 | (b === 3) ? 'rd' : 'th';
13 | return number + output;
14 | }
15 | });
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/locale/formats.js:
--------------------------------------------------------------------------------
1 | export var defaultLongDateFormat = {
2 | LTS : 'h:mm:ss A',
3 | LT : 'h:mm A',
4 | L : 'MM/DD/YYYY',
5 | LL : 'MMMM D, YYYY',
6 | LLL : 'MMMM D, YYYY h:mm A',
7 | LLLL : 'dddd, MMMM D, YYYY h:mm A'
8 | };
9 |
10 | export function longDateFormat (key) {
11 | var format = this._longDateFormat[key],
12 | formatUpper = this._longDateFormat[key.toUpperCase()];
13 |
14 | if (format || !formatUpper) {
15 | return format;
16 | }
17 |
18 | this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {
19 | return val.slice(1);
20 | });
21 |
22 | return this._longDateFormat[key];
23 | }
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/locale/invalid.js:
--------------------------------------------------------------------------------
1 | export var defaultInvalidDate = 'Invalid date';
2 |
3 | export function invalidDate () {
4 | return this._invalidDate;
5 | }
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/locale/ordinal.js:
--------------------------------------------------------------------------------
1 | export var defaultOrdinal = '%d';
2 | export var defaultOrdinalParse = /\d{1,2}/;
3 |
4 | export function ordinal (number) {
5 | return this._ordinal.replace('%d', number);
6 | }
7 |
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/locale/pre-post-format.js:
--------------------------------------------------------------------------------
1 | export function preParsePostFormat (string) {
2 | return string;
3 | }
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/moment/clone.js:
--------------------------------------------------------------------------------
1 | import { Moment } from './constructor';
2 |
3 | export function clone () {
4 | return new Moment(this);
5 | }
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/moment/creation-data.js:
--------------------------------------------------------------------------------
1 | export function creationData() {
2 | return {
3 | input: this._i,
4 | format: this._f,
5 | locale: this._locale,
6 | isUTC: this._isUTC,
7 | strict: this._strict
8 | };
9 | }
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/moment/from.js:
--------------------------------------------------------------------------------
1 | import { createDuration } from '../duration/create';
2 | import { createLocal } from '../create/local';
3 | import { isMoment } from '../moment/constructor';
4 |
5 | export function from (time, withoutSuffix) {
6 | if (this.isValid() &&
7 | ((isMoment(time) && time.isValid()) ||
8 | createLocal(time).isValid())) {
9 | return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix);
10 | } else {
11 | return this.localeData().invalidDate();
12 | }
13 | }
14 |
15 | export function fromNow (withoutSuffix) {
16 | return this.from(createLocal(), withoutSuffix);
17 | }
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/moment/moment.js:
--------------------------------------------------------------------------------
1 | import { createLocal } from '../create/local';
2 | import { createUTC } from '../create/utc';
3 | import { createInvalid } from '../create/valid';
4 | import { isMoment } from './constructor';
5 | import { min, max } from './min-max';
6 | import { now } from './now';
7 | import momentPrototype from './prototype';
8 |
9 | function createUnix (input) {
10 | return createLocal(input * 1000);
11 | }
12 |
13 | function createInZone () {
14 | return createLocal.apply(null, arguments).parseZone();
15 | }
16 |
17 | export {
18 | now,
19 | min,
20 | max,
21 | isMoment,
22 | createUTC,
23 | createUnix,
24 | createLocal,
25 | createInZone,
26 | createInvalid,
27 | momentPrototype
28 | };
29 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/moment/now.js:
--------------------------------------------------------------------------------
1 | export var now = function () {
2 | return Date.now ? Date.now() : +(new Date());
3 | };
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/moment/to.js:
--------------------------------------------------------------------------------
1 | import { createDuration } from '../duration/create';
2 | import { createLocal } from '../create/local';
3 | import { isMoment } from '../moment/constructor';
4 |
5 | export function to (time, withoutSuffix) {
6 | if (this.isValid() &&
7 | ((isMoment(time) && time.isValid()) ||
8 | createLocal(time).isValid())) {
9 | return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);
10 | } else {
11 | return this.localeData().invalidDate();
12 | }
13 | }
14 |
15 | export function toNow (withoutSuffix) {
16 | return this.to(createLocal(), withoutSuffix);
17 | }
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/moment/valid.js:
--------------------------------------------------------------------------------
1 | import { isValid as _isValid } from '../create/valid';
2 | import extend from '../utils/extend';
3 | import getParsingFlags from '../create/parsing-flags';
4 |
5 | export function isValid () {
6 | return _isValid(this);
7 | }
8 |
9 | export function parsingFlags () {
10 | return extend({}, getParsingFlags(this));
11 | }
12 |
13 | export function invalidAt () {
14 | return getParsingFlags(this).overflow;
15 | }
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/units/constants.js:
--------------------------------------------------------------------------------
1 | export var YEAR = 0;
2 | export var MONTH = 1;
3 | export var DATE = 2;
4 | export var HOUR = 3;
5 | export var MINUTE = 4;
6 | export var SECOND = 5;
7 | export var MILLISECOND = 6;
8 | export var WEEK = 7;
9 | export var WEEKDAY = 8;
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/units/minute.js:
--------------------------------------------------------------------------------
1 | import { makeGetSet } from '../moment/get-set';
2 | import { addFormatToken } from '../format/format';
3 | import { addUnitAlias } from './aliases';
4 | import { addUnitPriority } from './priorities';
5 | import { addRegexToken, match1to2, match2 } from '../parse/regex';
6 | import { addParseToken } from '../parse/token';
7 | import { MINUTE } from './constants';
8 |
9 | // FORMATTING
10 |
11 | addFormatToken('m', ['mm', 2], 0, 'minute');
12 |
13 | // ALIASES
14 |
15 | addUnitAlias('minute', 'm');
16 |
17 | // PRIORITY
18 |
19 | addUnitPriority('minute', 14);
20 |
21 | // PARSING
22 |
23 | addRegexToken('m', match1to2);
24 | addRegexToken('mm', match1to2, match2);
25 | addParseToken(['m', 'mm'], MINUTE);
26 |
27 | // MOMENTS
28 |
29 | export var getSetMinute = makeGetSet('Minutes', false);
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/units/priorities.js:
--------------------------------------------------------------------------------
1 | var priorities = {};
2 |
3 | export function addUnitPriority(unit, priority) {
4 | priorities[unit] = priority;
5 | }
6 |
7 | export function getPrioritizedUnits(unitsObj) {
8 | var units = [];
9 | for (var u in unitsObj) {
10 | units.push({unit: u, priority: priorities[u]});
11 | }
12 | units.sort(function (a, b) {
13 | return a.priority - b.priority;
14 | });
15 | return units;
16 | }
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/units/second.js:
--------------------------------------------------------------------------------
1 | import { makeGetSet } from '../moment/get-set';
2 | import { addFormatToken } from '../format/format';
3 | import { addUnitAlias } from './aliases';
4 | import { addUnitPriority } from './priorities';
5 | import { addRegexToken, match1to2, match2 } from '../parse/regex';
6 | import { addParseToken } from '../parse/token';
7 | import { SECOND } from './constants';
8 |
9 | // FORMATTING
10 |
11 | addFormatToken('s', ['ss', 2], 0, 'second');
12 |
13 | // ALIASES
14 |
15 | addUnitAlias('second', 's');
16 |
17 | // PRIORITY
18 |
19 | addUnitPriority('second', 15);
20 |
21 | // PARSING
22 |
23 | addRegexToken('s', match1to2);
24 | addRegexToken('ss', match1to2, match2);
25 | addParseToken(['s', 'ss'], SECOND);
26 |
27 | // MOMENTS
28 |
29 | export var getSetSecond = makeGetSet('Seconds', false);
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/units/timestamp.js:
--------------------------------------------------------------------------------
1 | import { addFormatToken } from '../format/format';
2 | import { addRegexToken, matchTimestamp, matchSigned } from '../parse/regex';
3 | import { addParseToken } from '../parse/token';
4 | import toInt from '../utils/to-int';
5 |
6 | // FORMATTING
7 |
8 | addFormatToken('X', 0, 0, 'unix');
9 | addFormatToken('x', 0, 0, 'valueOf');
10 |
11 | // PARSING
12 |
13 | addRegexToken('x', matchSigned);
14 | addRegexToken('X', matchTimestamp);
15 | addParseToken('X', function (input, array, config) {
16 | config._d = new Date(parseFloat(input, 10) * 1000);
17 | });
18 | addParseToken('x', function (input, array, config) {
19 | config._d = new Date(toInt(input));
20 | });
21 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/units/timezone.js:
--------------------------------------------------------------------------------
1 | import { addFormatToken } from '../format/format';
2 |
3 | // FORMATTING
4 |
5 | addFormatToken('z', 0, 0, 'zoneAbbr');
6 | addFormatToken('zz', 0, 0, 'zoneName');
7 |
8 | // MOMENTS
9 |
10 | export function getZoneAbbr () {
11 | return this._isUTC ? 'UTC' : '';
12 | }
13 |
14 | export function getZoneName () {
15 | return this._isUTC ? 'Coordinated Universal Time' : '';
16 | }
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/units/units.js:
--------------------------------------------------------------------------------
1 | // Side effect imports
2 | import './day-of-month';
3 | import './day-of-week';
4 | import './day-of-year';
5 | import './hour';
6 | import './millisecond';
7 | import './minute';
8 | import './month';
9 | import './offset';
10 | import './quarter';
11 | import './second';
12 | import './timestamp';
13 | import './timezone';
14 | import './week-year';
15 | import './week';
16 | import './year';
17 |
18 | import { normalizeUnits } from './aliases';
19 |
20 | export { normalizeUnits };
21 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/abs-ceil.js:
--------------------------------------------------------------------------------
1 | export default function absCeil (number) {
2 | if (number < 0) {
3 | return Math.floor(number);
4 | } else {
5 | return Math.ceil(number);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/abs-floor.js:
--------------------------------------------------------------------------------
1 | export default function absFloor (number) {
2 | if (number < 0) {
3 | // -0 -> 0
4 | return Math.ceil(number) || 0;
5 | } else {
6 | return Math.floor(number);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/abs-round.js:
--------------------------------------------------------------------------------
1 | export default function absRound (number) {
2 | if (number < 0) {
3 | return Math.round(-1 * number) * -1;
4 | } else {
5 | return Math.round(number);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/compare-arrays.js:
--------------------------------------------------------------------------------
1 | import toInt from './to-int';
2 |
3 | // compare two arrays, return the number of differences
4 | export default function compareArrays(array1, array2, dontConvert) {
5 | var len = Math.min(array1.length, array2.length),
6 | lengthDiff = Math.abs(array1.length - array2.length),
7 | diffs = 0,
8 | i;
9 | for (i = 0; i < len; i++) {
10 | if ((dontConvert && array1[i] !== array2[i]) ||
11 | (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) {
12 | diffs++;
13 | }
14 | }
15 | return diffs + lengthDiff;
16 | }
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/defaults.js:
--------------------------------------------------------------------------------
1 | // Pick the first defined of two or three arguments.
2 | export default function defaults(a, b, c) {
3 | if (a != null) {
4 | return a;
5 | }
6 | if (b != null) {
7 | return b;
8 | }
9 | return c;
10 | }
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/extend.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from './has-own-prop';
2 |
3 | export default function extend(a, b) {
4 | for (var i in b) {
5 | if (hasOwnProp(b, i)) {
6 | a[i] = b[i];
7 | }
8 | }
9 |
10 | if (hasOwnProp(b, 'toString')) {
11 | a.toString = b.toString;
12 | }
13 |
14 | if (hasOwnProp(b, 'valueOf')) {
15 | a.valueOf = b.valueOf;
16 | }
17 |
18 | return a;
19 | }
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/has-own-prop.js:
--------------------------------------------------------------------------------
1 | export default function hasOwnProp(a, b) {
2 | return Object.prototype.hasOwnProperty.call(a, b);
3 | }
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/hooks.js:
--------------------------------------------------------------------------------
1 | export { hooks, setHookCallback };
2 |
3 | var hookCallback;
4 |
5 | function hooks () {
6 | return hookCallback.apply(null, arguments);
7 | }
8 |
9 | // This is done to register the method called with moment()
10 | // without creating circular dependencies.
11 | function setHookCallback (callback) {
12 | hookCallback = callback;
13 | }
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/index-of.js:
--------------------------------------------------------------------------------
1 | var indexOf;
2 |
3 | if (Array.prototype.indexOf) {
4 | indexOf = Array.prototype.indexOf;
5 | } else {
6 | indexOf = function (o) {
7 | // I know
8 | var i;
9 | for (i = 0; i < this.length; ++i) {
10 | if (this[i] === o) {
11 | return i;
12 | }
13 | }
14 | return -1;
15 | };
16 | }
17 |
18 | export { indexOf as default };
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/is-array.js:
--------------------------------------------------------------------------------
1 | export default function isArray(input) {
2 | return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
3 | }
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/is-date.js:
--------------------------------------------------------------------------------
1 | export default function isDate(input) {
2 | return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
3 | }
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/is-function.js:
--------------------------------------------------------------------------------
1 | export default function isFunction(input) {
2 | return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
3 | }
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/is-object-empty.js:
--------------------------------------------------------------------------------
1 | export default function isObjectEmpty(obj) {
2 | var k;
3 | for (k in obj) {
4 | // even if its not own property I'd still call it non-empty
5 | return false;
6 | }
7 | return true;
8 | }
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/is-object.js:
--------------------------------------------------------------------------------
1 | export default function isObject(input) {
2 | // IE8 will treat undefined and null as object if it wasn't for
3 | // input != null
4 | return input != null && Object.prototype.toString.call(input) === '[object Object]';
5 | }
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/is-undefined.js:
--------------------------------------------------------------------------------
1 | export default function isUndefined(input) {
2 | return input === void 0;
3 | }
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/keys.js:
--------------------------------------------------------------------------------
1 | import hasOwnProp from './has-own-prop';
2 |
3 | var keys;
4 |
5 | if (Object.keys) {
6 | keys = Object.keys;
7 | } else {
8 | keys = function (obj) {
9 | var i, res = [];
10 | for (i in obj) {
11 | if (hasOwnProp(obj, i)) {
12 | res.push(i);
13 | }
14 | }
15 | return res;
16 | };
17 | }
18 |
19 | export { keys as default };
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/map.js:
--------------------------------------------------------------------------------
1 | export default function map(arr, fn) {
2 | var res = [], i;
3 | for (i = 0; i < arr.length; ++i) {
4 | res.push(fn(arr[i], i));
5 | }
6 | return res;
7 | }
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/some.js:
--------------------------------------------------------------------------------
1 | var some;
2 | if (Array.prototype.some) {
3 | some = Array.prototype.some;
4 | } else {
5 | some = function (fun) {
6 | var t = Object(this);
7 | var len = t.length >>> 0;
8 |
9 | for (var i = 0; i < len; i++) {
10 | if (i in t && fun.call(this, t[i], i, t)) {
11 | return true;
12 | }
13 | }
14 |
15 | return false;
16 | };
17 | }
18 |
19 | export { some as default };
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/to-int.js:
--------------------------------------------------------------------------------
1 | import absFloor from './abs-floor';
2 |
3 | export default function toInt(argumentForCoercion) {
4 | var coercedNumber = +argumentForCoercion,
5 | value = 0;
6 |
7 | if (coercedNumber !== 0 && isFinite(coercedNumber)) {
8 | value = absFloor(coercedNumber);
9 | }
10 |
11 | return value;
12 | }
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/moment/src/lib/utils/zero-fill.js:
--------------------------------------------------------------------------------
1 | export default function zeroFill(number, targetLength, forceSign) {
2 | var absNumber = '' + Math.abs(number),
3 | zerosToFill = targetLength - absNumber.length,
4 | sign = number >= 0;
5 | return (sign ? (forceSign ? '+' : '') : '-') +
6 | Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;
7 | }
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/topo/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | results.tap
7 | results.xml
8 | npm-shrinkwrap.json
9 | config.json
10 | .DS_Store
11 | */.DS_Store
12 | */*/.DS_Store
13 | ._*
14 | */._*
15 | */*/._*
16 | coverage.*
17 | lib-cov
18 | complexity.md
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/topo/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
5 | - 4.0
6 | - 4
7 |
8 | sudo: false
9 |
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/joi/node_modules/topo/README.md:
--------------------------------------------------------------------------------
1 | # topo
2 |
3 | Topological sorting with grouping support.
4 |
5 | [](http://travis-ci.org/hapijs/topo)
6 |
7 | Lead Maintainer: [Devin Ivy](https://github.com/devinivy)
8 |
9 | ## Usage
10 |
11 | See the [API Reference](API.md)
12 |
13 | **Example**
14 | ```node
15 | var Topo = require('topo');
16 |
17 | var morning = new Topo();
18 |
19 | morning.add('Nap', { after: ['breakfast', 'prep'] });
20 |
21 | morning.add([
22 | 'Make toast',
23 | 'Pour juice'
24 | ], { before: 'breakfast', group: 'prep' });
25 |
26 | morning.add('Eat breakfast', { group: 'breakfast' });
27 |
28 | morning.nodes; // ['Make toast', 'Pour juice', 'Eat breakfast', 'Nap']
29 | ```
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "freeze": true,
3 | "latedef": "nofunc",
4 | "undef": true,
5 | "unused": true,
6 | "trailing": true,
7 | "immed": true,
8 | "predef": ["console", "require", "__dirname"],
9 | "esnext": true,
10 | "lastsemic": true
11 | }
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | /test/keys
3 | /test/*.pem
4 | /test/encrypted-key-passphrase
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.10
4 | - 0.12
5 | - 4
6 | - 5
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/index.js:
--------------------------------------------------------------------------------
1 | /*global exports*/
2 | var SignStream = require('./lib/sign-stream');
3 | var VerifyStream = require('./lib/verify-stream');
4 |
5 | var ALGORITHMS = [
6 | 'HS256', 'HS384', 'HS512',
7 | 'RS256', 'RS384', 'RS512',
8 | 'ES256', 'ES384', 'ES512'
9 | ];
10 |
11 | exports.ALGORITHMS = ALGORITHMS;
12 | exports.sign = SignStream.sign;
13 | exports.verify = VerifyStream.verify;
14 | exports.decode = VerifyStream.decode;
15 | exports.isValid = VerifyStream.isValid;
16 | exports.createSign = function createSign(opts) {
17 | return new SignStream(opts);
18 | };
19 | exports.createVerify = function createVerify(opts) {
20 | return new VerifyStream(opts);
21 | };
22 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/lib/tostring.js:
--------------------------------------------------------------------------------
1 | /*global module*/
2 | var Buffer = require('buffer').Buffer;
3 |
4 | module.exports = function toString(obj) {
5 | if (typeof obj === 'string')
6 | return obj;
7 | if (typeof obj === 'number' || Buffer.isBuffer(obj))
8 | return obj.toString();
9 | return JSON.stringify(obj);
10 | };
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/.bin/base64url:
--------------------------------------------------------------------------------
1 | ../base64url/bin/base64url
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.10
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | try {
2 | var util = require('util');
3 | if (typeof util.inherits !== 'function') throw '';
4 | module.exports = util.inherits;
5 | } catch (e) {
6 | module.exports = require('./inherits_browser.js');
7 | }
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/inherits/inherits_browser.js:
--------------------------------------------------------------------------------
1 | if (typeof Object.create === 'function') {
2 | // implementation from standard node.js 'util' module
3 | module.exports = function inherits(ctor, superCtor) {
4 | ctor.super_ = superCtor
5 | ctor.prototype = Object.create(superCtor.prototype, {
6 | constructor: {
7 | value: ctor,
8 | enumerable: false,
9 | writable: true,
10 | configurable: true
11 | }
12 | });
13 | };
14 | } else {
15 | // old school shim for old browsers
16 | module.exports = function inherits(ctor, superCtor) {
17 | ctor.super_ = superCtor
18 | var TempCtor = function () {}
19 | TempCtor.prototype = superCtor.prototype
20 | ctor.prototype = new TempCtor()
21 | ctor.prototype.constructor = ctor
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/.npmignore:
--------------------------------------------------------------------------------
1 | build/
2 | test/
3 | examples/
4 | fs.js
5 | zlib.js
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/duplex.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_duplex.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "isarray",
3 | "description" : "Array#isArray for older browsers",
4 | "version" : "0.0.1",
5 | "repository" : "juliangruber/isarray",
6 | "homepage": "https://github.com/juliangruber/isarray",
7 | "main" : "index.js",
8 | "scripts" : [
9 | "index.js"
10 | ],
11 | "dependencies" : {},
12 | "keywords": ["browser","isarray","array"],
13 | "author": {
14 | "name": "Julian Gruber",
15 | "email": "mail@juliangruber.com",
16 | "url": "http://juliangruber.com"
17 | },
18 | "license": "MIT"
19 | }
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray/index.js:
--------------------------------------------------------------------------------
1 | module.exports = Array.isArray || function (arr) {
2 | return Object.prototype.toString.call(arr) == '[object Array]';
3 | };
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/.npmignore:
--------------------------------------------------------------------------------
1 | build
2 | test
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/README.md:
--------------------------------------------------------------------------------
1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core
2 |
3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details.
4 |
5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.**
6 |
7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version.
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/passthrough.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_passthrough.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/readable.js:
--------------------------------------------------------------------------------
1 | exports = module.exports = require('./lib/_stream_readable.js');
2 | exports.Stream = require('stream');
3 | exports.Readable = exports;
4 | exports.Writable = require('./lib/_stream_writable.js');
5 | exports.Duplex = require('./lib/_stream_duplex.js');
6 | exports.Transform = require('./lib/_stream_transform.js');
7 | exports.PassThrough = require('./lib/_stream_passthrough.js');
8 | if (!process.browser && process.env.READABLE_STREAM === 'disable') {
9 | module.exports = require('stream');
10 | }
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/transform.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_transform.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/readable-stream/writable.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_writable.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/typedarray/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/typedarray/example/tarray.js:
--------------------------------------------------------------------------------
1 | var Uint8Array = require('../').Uint8Array;
2 | var ua = new Uint8Array(5);
3 | ua[1] = 256 + 55;
4 | console.log(ua[1]);
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/typedarray/test/server/undef_globals.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var vm = require('vm');
3 | var fs = require('fs');
4 | var src = fs.readFileSync(__dirname + '/../../index.js', 'utf8');
5 |
6 | test('u8a without globals', function (t) {
7 | var c = {
8 | module: { exports: {} },
9 | };
10 | c.exports = c.module.exports;
11 | vm.runInNewContext(src, c);
12 | var TA = c.module.exports;
13 | var ua = new(TA.Uint8Array)(5);
14 |
15 | t.equal(ua.length, 5);
16 | ua[1] = 256 + 55;
17 | t.equal(ua[1], 55);
18 | t.end();
19 | });
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/concat-stream/node_modules/typedarray/test/tarray.js:
--------------------------------------------------------------------------------
1 | var TA = require('../');
2 | var test = require('tape');
3 |
4 | test('tiny u8a test', function (t) {
5 | var ua = new(TA.Uint8Array)(5);
6 | t.equal(ua.length, 5);
7 | ua[1] = 256 + 55;
8 | t.equal(ua[1], 55);
9 | t.end();
10 | });
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/.bin/indent-string:
--------------------------------------------------------------------------------
1 | ../indent-string/cli.js
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/camelcase-keys/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var mapObj = require('map-obj');
3 | var camelCase = require('camelcase');
4 |
5 | module.exports = function (obj) {
6 | return mapObj(obj, function (key, val) {
7 | return [camelCase(key), val];
8 | });
9 | };
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/camelcase-keys/node_modules/camelcase/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function () {
3 | var str = [].map.call(arguments, function (str) {
4 | return str.trim();
5 | }).filter(function (str) {
6 | return str.length;
7 | }).join('-');
8 |
9 | if (!str.length) {
10 | return '';
11 | }
12 |
13 | if (str.length === 1 || !(/[_.\- ]+/).test(str) ) {
14 | if (str[0] === str[0].toLowerCase() && str.slice(1) !== str.slice(1).toLowerCase()) {
15 | return str;
16 | }
17 |
18 | return str.toLowerCase();
19 | }
20 |
21 | return str
22 | .replace(/^[_.\- ]+/, '')
23 | .toLowerCase()
24 | .replace(/[_.\- ]+(\w|$)/g, function (m, p1) {
25 | return p1.toUpperCase();
26 | });
27 | };
28 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/camelcase-keys/node_modules/map-obj/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function (obj, cb) {
3 | var ret = {};
4 | var keys = Object.keys(obj);
5 |
6 | for (var i = 0; i < keys.length; i++) {
7 | var key = keys[i];
8 | var res = cb(key, obj[key], obj);
9 | ret[res[0]] = res[1];
10 | }
11 |
12 | return ret;
13 | };
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/camelcase-keys/node_modules/map-obj/readme.md:
--------------------------------------------------------------------------------
1 | # map-obj [](https://travis-ci.org/sindresorhus/map-obj)
2 |
3 | > Map object keys and values into a new object
4 |
5 |
6 | ## Install
7 |
8 | ```
9 | $ npm install --save map-obj
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | var mapObj = require('map-obj');
17 |
18 | var newObject = mapObj({foo: 'bar'}, function (key, value, object) {
19 | // first element is the new key and second is the new value
20 | // here we reverse the order
21 | return [value, key];
22 | });
23 | //=> {bar: 'foo'}
24 | ```
25 |
26 |
27 | ## License
28 |
29 | MIT © [Sindre Sorhus](http://sindresorhus.com)
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/camelcase-keys/readme.md:
--------------------------------------------------------------------------------
1 | # camelcase-keys [](https://travis-ci.org/sindresorhus/camelcase-keys)
2 |
3 | > Convert object keys to camelCase using [`camelcase`](https://github.com/sindresorhus/camelcase)
4 |
5 |
6 | ## Install
7 |
8 | ```sh
9 | $ npm install --save camelcase-keys
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | var camelcaseKeys = require('camelcase-keys');
17 |
18 | camelcaseKeys({'foo-bar': true});
19 | //=> {fooBar: true}
20 |
21 |
22 | var argv = require('minimist')(process.argv.slice(2));
23 | //=> {_: [], 'foo-bar': true}
24 |
25 | camelcaseKeys(argv);
26 | //=> {_: [], fooBar: true}
27 | ```
28 |
29 |
30 | ## License
31 |
32 | MIT © [Sindre Sorhus](http://sindresorhus.com)
33 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var repeating = require('repeating');
3 |
4 | module.exports = function (str, indent, count) {
5 | if (typeof str !== 'string' || typeof indent !== 'string') {
6 | throw new TypeError('`string` and `indent` should be strings');
7 | }
8 |
9 | if (count != null && typeof count !== 'number') {
10 | throw new TypeError('`count` should be a number');
11 | }
12 |
13 | if (count === 0) {
14 | return str;
15 | }
16 |
17 | indent = count > 1 ? repeating(indent, count) : indent;
18 |
19 | return str.replace(/^(?!\s*$)/mg, indent);
20 | };
21 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/.bin/repeating:
--------------------------------------------------------------------------------
1 | ../repeating/cli.js
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/get-stdin/readme.md:
--------------------------------------------------------------------------------
1 | # get-stdin [](https://travis-ci.org/sindresorhus/get-stdin)
2 |
3 | > Easier stdin
4 |
5 |
6 | ## Install
7 |
8 | ```sh
9 | $ npm install --save get-stdin
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | // example.js
17 | var stdin = require('get-stdin');
18 |
19 | stdin(function (data) {
20 | console.log(data);
21 | //=> unicorns
22 | });
23 | ```
24 |
25 | ```sh
26 | $ echo unicorns | node example.js
27 | unicorns
28 | ```
29 |
30 |
31 | ## API
32 |
33 | ### stdin(callback)
34 |
35 | Get `stdin` as a string.
36 |
37 | ### stdin.buffer(callback)
38 |
39 | Get `stdin` as a buffer.
40 |
41 |
42 | ## License
43 |
44 | MIT © [Sindre Sorhus](http://sindresorhus.com)
45 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/repeating/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var isFinite = require('is-finite');
3 |
4 | module.exports = function (str, n) {
5 | if (typeof str !== 'string') {
6 | throw new TypeError('Expected a string as the first argument');
7 | }
8 |
9 | if (n < 0 || !isFinite(n)) {
10 | throw new TypeError('Expected a finite positive number');
11 | }
12 |
13 | var ret = '';
14 |
15 | do {
16 | if (n & 1) {
17 | ret += str;
18 | }
19 |
20 | str += str;
21 | } while (n = n >> 1);
22 |
23 | return ret;
24 | };
25 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/repeating/node_modules/is-finite/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var numberIsNan = require('number-is-nan');
3 |
4 | module.exports = Number.isFinite || function (val) {
5 | return !(typeof val !== 'number' || numberIsNan(val) || val === Infinity || val === -Infinity);
6 | };
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/repeating/node_modules/is-finite/node_modules/number-is-nan/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = Number.isNaN || function (x) {
3 | return x !== x;
4 | };
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/repeating/node_modules/is-finite/node_modules/number-is-nan/readme.md:
--------------------------------------------------------------------------------
1 | # number-is-nan [](https://travis-ci.org/sindresorhus/number-is-nan)
2 |
3 | > ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com)
4 |
5 |
6 | ## Install
7 |
8 | ```
9 | $ npm install --save number-is-nan
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | var numberIsNan = require('number-is-nan');
17 |
18 | numberIsNan(NaN);
19 | //=> true
20 |
21 | numberIsNan('unicorn');
22 | //=> false
23 | ```
24 |
25 |
26 | ## License
27 |
28 | MIT © [Sindre Sorhus](http://sindresorhus.com)
29 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/repeating/node_modules/is-finite/readme.md:
--------------------------------------------------------------------------------
1 | # is-finite [](https://travis-ci.org/sindresorhus/is-finite)
2 |
3 | > ES2015 [`Number.isFinite()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite) [ponyfill](https://ponyfill.com)
4 |
5 |
6 | ## Install
7 |
8 | ```sh
9 | $ npm install --save is-finite
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | var numIsFinite = require('is-finite');
17 |
18 | numIsFinite(4);
19 | //=> true
20 |
21 | numIsFinite(Infinity);
22 | //=> false
23 | ```
24 |
25 |
26 | ## License
27 |
28 | MIT © [Sindre Sorhus](http://sindresorhus.com)
29 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/minimist/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.12"
6 | - "iojs"
7 | before_install:
8 | - npm install -g npm@~1.4.6
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/minimist/example/parse.js:
--------------------------------------------------------------------------------
1 | var argv = require('../')(process.argv.slice(2));
2 | console.dir(argv);
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/minimist/test/dotted.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('dotted alias', function (t) {
5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}});
6 | t.equal(argv.a.b, 22);
7 | t.equal(argv.aa.bb, 22);
8 | t.end();
9 | });
10 |
11 | test('dotted default', function (t) {
12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}});
13 | t.equal(argv.a.b, 11);
14 | t.equal(argv.aa.bb, 11);
15 | t.end();
16 | });
17 |
18 | test('dotted default with no alias', function (t) {
19 | var argv = parse('', {default: {'a.b': 11}});
20 | t.equal(argv.a.b, 11);
21 | t.end();
22 | });
23 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/minimist/test/kv_short.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('short -k=v' , function (t) {
5 | t.plan(1);
6 |
7 | var argv = parse([ '-b=123' ]);
8 | t.deepEqual(argv, { b: 123, _: [] });
9 | });
10 |
11 | test('multi short -k=v' , function (t) {
12 | t.plan(1);
13 |
14 | var argv = parse([ '-a=whatever', '-b=robots' ]);
15 | t.deepEqual(argv, { a: 'whatever', b: 'robots', _: [] });
16 | });
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/minimist/test/parse_modified.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('parse with modifier functions' , function (t) {
5 | t.plan(1);
6 |
7 | var argv = parse([ '-b', '123' ], { boolean: 'b' });
8 | t.deepEqual(argv, { b: true, _: [123] });
9 | });
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/minimist/test/stop_early.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('stops parsing on the first non-option when stopEarly is set', function (t) {
5 | var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
6 | stopEarly: true
7 | });
8 |
9 | t.deepEqual(argv, {
10 | aaa: 'bbb',
11 | _: ['ccc', '--ddd']
12 | });
13 |
14 | t.end();
15 | });
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/minimist/test/whitespace.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('whitespace should be whitespace' , function (t) {
5 | t.plan(1);
6 | var x = parse([ '-x', '\t' ]).x;
7 | t.equal(x, '\t');
8 | });
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/test/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/test/test.jpg
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/jwa/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | test/*.pem
3 | test/keys
4 | test/*.txt
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/jwa/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.10
4 | - 0.11
5 | - 0.12
6 | - 4
7 | - 5
8 | notifications:
9 | email:
10 | recipients:
11 | - brianloveswords@gmail.com
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/jwa/node_modules/buffer-equal-constant-time/.npmignore:
--------------------------------------------------------------------------------
1 | .*.sw[mnop]
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/jwa/node_modules/buffer-equal-constant-time/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.11"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/jwa/node_modules/ecdsa-sig-formatter/node_modules/base64-url/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var base64url = module.exports;
4 |
5 | base64url.unescape = function unescape (str) {
6 | return (str + '==='.slice((str.length + 3) % 4))
7 | .replace(/\-/g, '+')
8 | .replace(/_/g, '/');
9 | };
10 |
11 | base64url.escape = function escape (str) {
12 | return str.replace(/\+/g, '-')
13 | .replace(/\//g, '_')
14 | .replace(/=/g, '');
15 | };
16 |
17 | base64url.encode = function encode (str) {
18 | return this.escape(new Buffer(str).toString('base64'));
19 | };
20 |
21 | base64url.decode = function decode (str) {
22 | return new Buffer(this.unescape(str), 'base64').toString();
23 | };
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/jwa/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | function getParamSize(keySize) {
4 | var result = ((keySize / 8) | 0) + (keySize % 8 === 0 ? 0 : 1);
5 | return result;
6 | }
7 |
8 | var paramBytesForAlg = {
9 | ES256: getParamSize(256),
10 | ES384: getParamSize(384),
11 | ES512: getParamSize(521)
12 | };
13 |
14 | function getParamBytesForAlg(alg) {
15 | var paramBytes = paramBytesForAlg[alg];
16 | if (paramBytes) {
17 | return paramBytes;
18 | }
19 |
20 | throw new Error('Unknown algorithm "' + alg + '"');
21 | }
22 |
23 | module.exports = getParamBytesForAlg;
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/test/data.txt:
--------------------------------------------------------------------------------
1 | one, two, three
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/lodash.once/README.md:
--------------------------------------------------------------------------------
1 | # lodash.once v4.1.1
2 |
3 | The [lodash](https://lodash.com/) method `_.once` exported as a [Node.js](https://nodejs.org/) module.
4 |
5 | ## Installation
6 |
7 | Using npm:
8 | ```bash
9 | $ {sudo -H} npm i -g npm
10 | $ npm i --save lodash.once
11 | ```
12 |
13 | In Node.js:
14 | ```js
15 | var once = require('lodash.once');
16 | ```
17 |
18 | See the [documentation](https://lodash.com/docs#once) or [package source](https://github.com/lodash/lodash/blob/4.1.1-npm-packages/lodash.once) for more details.
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/xtend/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "maxdepth": 4,
3 | "maxstatements": 200,
4 | "maxcomplexity": 12,
5 | "maxlen": 80,
6 | "maxparams": 5,
7 |
8 | "curly": true,
9 | "eqeqeq": true,
10 | "immed": true,
11 | "latedef": false,
12 | "noarg": true,
13 | "noempty": true,
14 | "nonew": true,
15 | "undef": true,
16 | "unused": "vars",
17 | "trailing": true,
18 |
19 | "quotmark": true,
20 | "expr": true,
21 | "asi": true,
22 |
23 | "browser": false,
24 | "esnext": true,
25 | "devel": false,
26 | "node": false,
27 | "nonstandard": false,
28 |
29 | "predef": ["require", "module", "__dirname", "__filename"]
30 | }
31 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/xtend/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/xtend/Makefile:
--------------------------------------------------------------------------------
1 | browser:
2 | node ./support/compile
3 |
4 | .PHONY: browser
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/xtend/README.md:
--------------------------------------------------------------------------------
1 | # xtend
2 |
3 | [![browser support][3]][4]
4 |
5 | [](http://github.com/badges/stability-badges)
6 |
7 | Extend like a boss
8 |
9 | xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
10 |
11 | ## Examples
12 |
13 | ```js
14 | var extend = require("xtend")
15 |
16 | // extend returns a new object. Does not mutate arguments
17 | var combination = extend({
18 | a: "a",
19 | b: 'c'
20 | }, {
21 | b: "b"
22 | })
23 | // { a: "a", b: "b" }
24 | ```
25 |
26 | ## Stability status: Locked
27 |
28 | ## MIT Licenced
29 |
30 |
31 | [3]: http://ci.testling.com/Raynos/xtend.png
32 | [4]: http://ci.testling.com/Raynos/xtend
33 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/xtend/immutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | var hasOwnProperty = Object.prototype.hasOwnProperty;
4 |
5 | function extend() {
6 | var target = {}
7 |
8 | for (var i = 0; i < arguments.length; i++) {
9 | var source = arguments[i]
10 |
11 | for (var key in source) {
12 | if (hasOwnProperty.call(source, key)) {
13 | target[key] = source[key]
14 | }
15 | }
16 | }
17 |
18 | return target
19 | }
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/xtend/mutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | var hasOwnProperty = Object.prototype.hasOwnProperty;
4 |
5 | function extend(target) {
6 | for (var i = 1; i < arguments.length; i++) {
7 | var source = arguments[i]
8 |
9 | for (var key in source) {
10 | if (hasOwnProperty.call(source, key)) {
11 | target[key] = source[key]
12 | }
13 | }
14 | }
15 |
16 | return target
17 | }
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/buffer.tests.js:
--------------------------------------------------------------------------------
1 | var jwt = require("../.");
2 | var assert = require('chai').assert;
3 |
4 | describe('buffer payload', function () {
5 | it('should work', function () {
6 | var payload = new Buffer('TkJyotZe8NFpgdfnmgINqg==', 'base64');
7 | var token = jwt.sign(payload, "signing key");
8 | assert.equal(jwt.decode(token), payload.toString());
9 | });
10 | });
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/iat.tests.js:
--------------------------------------------------------------------------------
1 | var jwt = require('../index');
2 | var expect = require('chai').expect;
3 |
4 | describe('iat', function () {
5 |
6 | it('should work with a exp calculated based on numeric iat', function () {
7 | var dateNow = Math.floor(Date.now() / 1000);
8 | var iat = dateNow - 30;
9 | var expiresIn = 50;
10 | var token = jwt.sign({foo: 123, iat: iat}, '123', {expiresIn: expiresIn});
11 | var result = jwt.verify(token, '123');
12 | expect(result.exp).to.be.closeTo(iat + expiresIn, 0.2);
13 | });
14 |
15 |
16 | it('should throw if iat is not a number', function () {
17 | expect(function () {
18 | jwt.sign({foo: 123, iat: 'hello'}, '123');
19 | }).to.throw(/"iat" must be a number/);
20 | });
21 |
22 | });
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/issue_147.tests.js:
--------------------------------------------------------------------------------
1 | var jwt = require('../index');
2 | var expect = require('chai').expect;
3 |
4 | describe('issue 147 - signing with a sealed payload', function() {
5 |
6 | it('should put the expiration claim', function () {
7 | var token = jwt.sign(Object.seal({foo: 123}), '123', { expiresIn: 10 });
8 | var result = jwt.verify(token, '123');
9 | expect(result.exp).to.be.closeTo(Math.floor(Date.now() / 1000) + 10, 0.2);
10 | });
11 |
12 | });
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/issue_196.tests.js:
--------------------------------------------------------------------------------
1 | var expect = require('chai').expect;
2 | var jwt = require('./..');
3 | var atob = require('atob');
4 |
5 | describe('issue 196', function () {
6 | function b64_to_utf8 (str) {
7 | return decodeURIComponent(escape(atob( str )));
8 | }
9 |
10 | it('should use issuer provided in payload.iss', function () {
11 | var token = jwt.sign({ iss: 'foo' }, 'shhhhh');
12 | var decoded_issuer = JSON.parse(b64_to_utf8(token.split('.')[1])).iss;
13 | expect(decoded_issuer).to.equal('foo');
14 | });
15 | });
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/issue_70.tests.js:
--------------------------------------------------------------------------------
1 | var jwt = require('../');
2 |
3 | describe('issue 70 - public key start with BEING PUBLIC KEY', function () {
4 |
5 | it('should work', function (done) {
6 | var fs = require('fs');
7 | var cert_pub = fs.readFileSync(__dirname + '/rsa-public.pem');
8 | var cert_priv = fs.readFileSync(__dirname + '/rsa-private.pem');
9 |
10 | var token = jwt.sign({ foo: 'bar' }, cert_priv, { algorithm: 'RS256'});
11 |
12 | jwt.verify(token, cert_pub, done);
13 | });
14 |
15 | });
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/noTimestamp.tests.js:
--------------------------------------------------------------------------------
1 | var jwt = require('../index');
2 | var expect = require('chai').expect;
3 |
4 | describe('noTimestamp', function() {
5 |
6 | it('should work with string', function () {
7 | var token = jwt.sign({foo: 123}, '123', { expiresIn: '5m' , noTimestamp: true });
8 | var result = jwt.verify(token, '123');
9 | expect(result.exp).to.be.closeTo(Math.floor(Date.now() / 1000) + (5*60), 0.5);
10 | });
11 |
12 | });
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/rsa-public-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PUBLIC KEY-----
2 | MIIBCgKCAQEAvzoCEC2rpSpJQaWZbUmlsDNwp83Jr4fi6KmBWIwnj1MZ6CUQ7rBa
3 | suLI8AcfX5/10scSfQNCsTLV2tMKQaHuvyrVfwY0dINk+nkqB74QcT2oCCH9XduJ
4 | jDuwWA4xLqAKuF96FsIes52opEM50W7/W7DZCKXkC8fFPFj6QF5ZzApDw2Qsu3yM
5 | Rmr7/W9uWeaTwfPx24YdY7Ah+fdLy3KN40vXv9c4xiSafVvnx9BwYL7H1Q8NiK9L
6 | GEN6+JSWfgckQCs6UUBOXSZdreNN9zbQCwyzee7bOJqXUDAuLcFARzPw1EsZAyjV
7 | tGCKIQ0/btqK+jFunT2NBC8RItanDZpptQIDAQAB
8 | -----END RSA PUBLIC KEY-----
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/rsa-public-key.tests.js:
--------------------------------------------------------------------------------
1 | var jwt = require('../');
2 |
3 | describe('public key start with BEGIN RSA PUBLIC KEY', function () {
4 |
5 | it('should work', function (done) {
6 | var fs = require('fs');
7 | var cert_pub = fs.readFileSync(__dirname + '/rsa-public-key.pem');
8 | var cert_priv = fs.readFileSync(__dirname + '/rsa-private.pem');
9 |
10 | var token = jwt.sign({ foo: 'bar' }, cert_priv, { algorithm: 'RS256'});
11 |
12 | jwt.verify(token, cert_pub, done);
13 | });
14 |
15 | });
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/rsa-public.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvzoCEC2rpSpJQaWZbUml
3 | sDNwp83Jr4fi6KmBWIwnj1MZ6CUQ7rBasuLI8AcfX5/10scSfQNCsTLV2tMKQaHu
4 | vyrVfwY0dINk+nkqB74QcT2oCCH9XduJjDuwWA4xLqAKuF96FsIes52opEM50W7/
5 | W7DZCKXkC8fFPFj6QF5ZzApDw2Qsu3yMRmr7/W9uWeaTwfPx24YdY7Ah+fdLy3KN
6 | 40vXv9c4xiSafVvnx9BwYL7H1Q8NiK9LGEN6+JSWfgckQCs6UUBOXSZdreNN9zbQ
7 | Cwyzee7bOJqXUDAuLcFARzPw1EsZAyjVtGCKIQ0/btqK+jFunT2NBC8RItanDZpp
8 | tQIDAQAB
9 | -----END PUBLIC KEY-----
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/set_headers.tests.js:
--------------------------------------------------------------------------------
1 | var jwt = require('../index');
2 | var expect = require('chai').expect;
3 |
4 | describe('set header', function() {
5 |
6 | it('should add the header', function () {
7 | var token = jwt.sign({foo: 123}, '123', { header: { foo: 'bar' } });
8 | var decoded = jwt.decode(token, {complete: true});
9 | expect(decoded.header.foo).to.equal('bar');
10 | });
11 |
12 | it('should allow overriding header', function () {
13 | var token = jwt.sign({foo: 123}, '123', { header: { alg: 'HS512' } });
14 | var decoded = jwt.decode(token, {complete: true});
15 | expect(decoded.header.alg).to.equal('HS512');
16 | });
17 |
18 | });
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/undefined_secretOrPublickey.tests.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var jwt = require('../index');
3 | var JsonWebTokenError = require('../lib/JsonWebTokenError');
4 | var expect = require('chai').expect;
5 |
6 | var TOKEN = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.t-IDcSemACt8x4iTMCda8Yhe3iZaWbvV5XKSTbuAn0M';
7 |
8 | describe('verifying without specified secret or public key', function () {
9 | it('should not verify null', function () {
10 | expect(function () {
11 | jwt.verify(TOKEN, null);
12 | }).to.throw(JsonWebTokenError, /secret or public key must be provided/);
13 | });
14 |
15 | it('should not verify undefined', function () {
16 | expect(function () {
17 | jwt.verify(TOKEN);
18 | }).to.throw(JsonWebTokenError, /secret or public key must be provided/);
19 | });
20 | });
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/test/util/fakeDate.js:
--------------------------------------------------------------------------------
1 | var oldDate = global.Date;
2 |
3 | /*
4 | * fix new Date() to a fixed unix timestamp.
5 | */
6 | global.Date.fix = function (timestamp) {
7 | var time = timestamp * 1000;
8 |
9 | if (global.Date.unfake) {
10 | global.Date.unfake();
11 | }
12 |
13 | global.Date = function (ts) {
14 | return new oldDate(ts || time);
15 | };
16 |
17 | global.Date.prototype = Object.create(oldDate.prototype);
18 | global.Date.prototype.constructor = global.Date;
19 |
20 | global.Date.prototype.now = function () {
21 | return time;
22 | };
23 |
24 | global.Date.now = function () {
25 | return time;
26 | };
27 |
28 | global.Date.unfix = function () {
29 | global.Date = oldDate;
30 | };
31 |
32 | };
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/.npmignore:
--------------------------------------------------------------------------------
1 | coverage
2 | tests
3 | node_modules
4 | examples
5 | release.sh
6 | disabled.appveyor.yml
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/.travis.yml:
--------------------------------------------------------------------------------
1 |
2 | language: node_js
3 |
4 | node_js:
5 | - node
6 | - 6
7 | - 4
8 | - 0.12
9 |
10 | after_script:
11 | - npm run test-cov
12 | - codecov
13 | - cat ./coverage/lcov.info | coveralls
14 |
15 | webhooks:
16 | urls: https://webhooks.gitter.im/e/237280ed4796c19cc626
17 | on_success: change # options: [always|never|change] default: always
18 | on_failure: always # options: [always|never|change] default: always
19 | on_start: false # default: false
20 |
21 | sudo: false
22 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/codecov.yml:
--------------------------------------------------------------------------------
1 |
2 | comment: false
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/.bin/har-validator:
--------------------------------------------------------------------------------
1 | ../har-validator/bin/har-validator
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/.bin/uuid:
--------------------------------------------------------------------------------
1 | ../node-uuid/bin/uuid
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/aws-sign2/README.md:
--------------------------------------------------------------------------------
1 | aws-sign
2 | ========
3 |
4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/aws4/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | examples
3 | example.js
4 | browser
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/aws4/.tern-port:
--------------------------------------------------------------------------------
1 | 62638
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/aws4/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.12"
5 | - "4.2"
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/.travis.yml:
--------------------------------------------------------------------------------
1 | sudo: false
2 | language: node_js
3 | node_js:
4 | - '0.10'
5 | - '0.12'
6 | - '4'
7 | - '5'
8 | branches:
9 | only:
10 | - master
11 | notifications:
12 | email:
13 | - rod@vagg.org
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/.npmignore:
--------------------------------------------------------------------------------
1 | build/
2 | test/
3 | examples/
4 | fs.js
5 | zlib.js
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/.zuul.yml:
--------------------------------------------------------------------------------
1 | ui: tape
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_duplex.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js:
--------------------------------------------------------------------------------
1 | // a passthrough stream.
2 | // basically just the most minimal sort of Transform stream.
3 | // Every written chunk gets output as-is.
4 |
5 | 'use strict';
6 |
7 | module.exports = PassThrough;
8 |
9 | var Transform = require('./_stream_transform');
10 |
11 | /**/
12 | var util = require('core-util-is');
13 | util.inherits = require('inherits');
14 | /**/
15 |
16 | util.inherits(PassThrough, Transform);
17 |
18 | function PassThrough(options) {
19 | if (!(this instanceof PassThrough)) return new PassThrough(options);
20 |
21 | Transform.call(this, options);
22 | }
23 |
24 | PassThrough.prototype._transform = function (chunk, encoding, cb) {
25 | cb(null, chunk);
26 | };
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) Isaac Z. Schlueter
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 | PERFORMANCE OF THIS SOFTWARE.
16 |
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | try {
2 | var util = require('util');
3 | if (typeof util.inherits !== 'function') throw '';
4 | module.exports = util.inherits;
5 | } catch (e) {
6 | module.exports = require('./inherits_browser.js');
7 | }
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits_browser.js:
--------------------------------------------------------------------------------
1 | if (typeof Object.create === 'function') {
2 | // implementation from standard node.js 'util' module
3 | module.exports = function inherits(ctor, superCtor) {
4 | ctor.super_ = superCtor
5 | ctor.prototype = Object.create(superCtor.prototype, {
6 | constructor: {
7 | value: ctor,
8 | enumerable: false,
9 | writable: true,
10 | configurable: true
11 | }
12 | });
13 | };
14 | } else {
15 | // old school shim for old browsers
16 | module.exports = function inherits(ctor, superCtor) {
17 | ctor.super_ = superCtor
18 | var TempCtor = function () {}
19 | TempCtor.prototype = superCtor.prototype
20 | ctor.prototype = new TempCtor()
21 | ctor.prototype.constructor = ctor
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @node_modules/.bin/tape test.js
4 |
5 | .PHONY: test
6 |
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "isarray",
3 | "description" : "Array#isArray for older browsers",
4 | "version" : "0.0.1",
5 | "repository" : "juliangruber/isarray",
6 | "homepage": "https://github.com/juliangruber/isarray",
7 | "main" : "index.js",
8 | "scripts" : [
9 | "index.js"
10 | ],
11 | "dependencies" : {},
12 | "keywords": ["browser","isarray","array"],
13 | "author": {
14 | "name": "Julian Gruber",
15 | "email": "mail@juliangruber.com",
16 | "url": "http://juliangruber.com"
17 | },
18 | "license": "MIT"
19 | }
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js:
--------------------------------------------------------------------------------
1 | var toString = {}.toString;
2 |
3 | module.exports = Array.isArray || function (arr) {
4 | return toString.call(arr) == '[object Array]';
5 | };
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/test.js:
--------------------------------------------------------------------------------
1 | var isArray = require('./');
2 | var test = require('tape');
3 |
4 | test('is array', function(t){
5 | t.ok(isArray([]));
6 | t.notOk(isArray({}));
7 | t.notOk(isArray(null));
8 | t.notOk(isArray(false));
9 |
10 | var obj = {};
11 | obj[0] = true;
12 | t.notOk(isArray(obj));
13 |
14 | var arr = [];
15 | arr.foo = 'bar';
16 | t.ok(isArray(arr));
17 |
18 | t.end();
19 | });
20 |
21 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | - "0.12"
7 | - "1.7.1"
8 | - 1
9 | - 2
10 | - 3
11 | - 4
12 | - 5
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/readme.md:
--------------------------------------------------------------------------------
1 | process-nextick-args
2 | =====
3 |
4 | [](https://travis-ci.org/calvinmetcalf/process-nextick-args)
5 |
6 | ```bash
7 | npm install --save process-nextick-args
8 | ```
9 |
10 | Always be able to pass arguments to process.nextTick, no matter the platform
11 |
12 | ```js
13 | var nextTick = require('process-nextick-args');
14 |
15 | nextTick(function (a, b, c) {
16 | console.log(a, b, c);
17 | }, 'step', 3, 'profit');
18 | ```
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/test.js:
--------------------------------------------------------------------------------
1 | var test = require("tap").test;
2 | var nextTick = require('./');
3 |
4 | test('should work', function (t) {
5 | t.plan(5);
6 | nextTick(function (a) {
7 | t.ok(a);
8 | nextTick(function (thing) {
9 | t.equals(thing, 7);
10 | }, 7);
11 | }, true);
12 | nextTick(function (a, b, c) {
13 | t.equals(a, 'step');
14 | t.equals(b, 3);
15 | t.equals(c, 'profit');
16 | }, 'step', 3, 'profit');
17 | });
18 |
19 | test('correct number of arguments', function (t) {
20 | t.plan(1);
21 | nextTick(function () {
22 | t.equals(2, arguments.length, 'correct number');
23 | }, 1, 2);
24 | });
25 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore:
--------------------------------------------------------------------------------
1 | build
2 | test
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md:
--------------------------------------------------------------------------------
1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core
2 |
3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details.
4 |
5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.**
6 |
7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version.
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/History.md:
--------------------------------------------------------------------------------
1 |
2 | 1.0.2 / 2015-10-07
3 | ==================
4 |
5 | * use try/catch when checking `localStorage` (#3, @kumavis)
6 |
7 | 1.0.1 / 2014-11-25
8 | ==================
9 |
10 | * browser: use `console.warn()` for deprecation calls
11 | * browser: more jsdocs
12 |
13 | 1.0.0 / 2014-04-30
14 | ==================
15 |
16 | * initial commit
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/node.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * For Node.js, simply re-export the core `util.deprecate` function.
4 | */
5 |
6 | module.exports = require('util').deprecate;
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_passthrough.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js:
--------------------------------------------------------------------------------
1 | var Stream = (function (){
2 | try {
3 | return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify
4 | } catch(_){}
5 | }());
6 | exports = module.exports = require('./lib/_stream_readable.js');
7 | exports.Stream = Stream || exports;
8 | exports.Readable = exports;
9 | exports.Writable = require('./lib/_stream_writable.js');
10 | exports.Duplex = require('./lib/_stream_duplex.js');
11 | exports.Transform = require('./lib/_stream_transform.js');
12 | exports.PassThrough = require('./lib/_stream_passthrough.js');
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_transform.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_writable.js")
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | .PHONY: test
7 |
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/extend/.npmignore:
--------------------------------------------------------------------------------
1 | test
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/extend/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "extend",
3 | "author": "Stefan Thomas (http://www.justmoon.net)",
4 | "version": "3.0.0",
5 | "description": "Port of jQuery.extend for node.js and the browser.",
6 | "scripts": [
7 | "index.js"
8 | ],
9 | "contributors": [
10 | {
11 | "name": "Jordan Harband",
12 | "url": "https://github.com/ljharb"
13 | }
14 | ],
15 | "keywords": [
16 | "extend",
17 | "clone",
18 | "merge"
19 | ],
20 | "repository" : {
21 | "type": "git",
22 | "url": "https://github.com/justmoon/node-extend.git"
23 | },
24 | "dependencies": {
25 | },
26 | "devDependencies": {
27 | "tape" : "~3.0.0",
28 | "covert": "~0.4.0",
29 | "jscs": "~1.6.2"
30 | }
31 | }
32 |
33 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/forever-agent/README.md:
--------------------------------------------------------------------------------
1 | forever-agent
2 | =============
3 |
4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/lib/browser.js:
--------------------------------------------------------------------------------
1 | /* eslint-env browser */
2 | module.exports = window.FormData;
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/lib/populate.js:
--------------------------------------------------------------------------------
1 | // populates missing values
2 | module.exports = function(dst, src) {
3 |
4 | Object.keys(src).forEach(function(prop)
5 | {
6 | dst[prop] = dst[prop] || src[prop];
7 | });
8 |
9 | return dst;
10 | };
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/index.js:
--------------------------------------------------------------------------------
1 | module.exports =
2 | {
3 | parallel : require('./parallel.js'),
4 | serial : require('./serial.js'),
5 | serialOrdered : require('./serialOrdered.js')
6 | };
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/lib/abort.js:
--------------------------------------------------------------------------------
1 | // API
2 | module.exports = abort;
3 |
4 | /**
5 | * Aborts leftover active jobs
6 | *
7 | * @param {object} state - current state object
8 | */
9 | function abort(state)
10 | {
11 | Object.keys(state.jobs).forEach(clean.bind(state));
12 |
13 | // reset leftover jobs
14 | state.jobs = {};
15 | }
16 |
17 | /**
18 | * Cleans up leftover job by invoking abort function for the provided job id
19 | *
20 | * @this state
21 | * @param {string|number} key - job id to abort
22 | */
23 | function clean(key)
24 | {
25 | if (typeof this.jobs[key] == 'function')
26 | {
27 | this.jobs[key]();
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/lib/async.js:
--------------------------------------------------------------------------------
1 | var defer = require('./defer.js');
2 |
3 | // API
4 | module.exports = async;
5 |
6 | /**
7 | * Runs provided callback asynchronously
8 | * even if callback itself is not
9 | *
10 | * @param {function} callback - callback to invoke
11 | * @returns {function} - augmented callback
12 | */
13 | function async(callback)
14 | {
15 | var isAsync = false;
16 |
17 | // check if async happened
18 | defer(function() { isAsync = true; });
19 |
20 | return function async_callback(err, result)
21 | {
22 | if (isAsync)
23 | {
24 | callback(err, result);
25 | }
26 | else
27 | {
28 | defer(function nextTick_callback()
29 | {
30 | callback(err, result);
31 | });
32 | }
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/lib/defer.js:
--------------------------------------------------------------------------------
1 | module.exports = defer;
2 |
3 | /**
4 | * Runs provided function on next iteration of the event loop
5 | *
6 | * @param {function} fn - function to run
7 | */
8 | function defer(fn)
9 | {
10 | var nextTick = typeof setImmediate == 'function'
11 | ? setImmediate
12 | : (
13 | typeof process == 'object' && typeof process.nextTick == 'function'
14 | ? process.nextTick
15 | : null
16 | );
17 |
18 | if (nextTick)
19 | {
20 | nextTick(fn);
21 | }
22 | else
23 | {
24 | setTimeout(fn, 0);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/lib/readable_parallel.js:
--------------------------------------------------------------------------------
1 | var parallel = require('../parallel.js');
2 |
3 | // API
4 | module.exports = ReadableParallel;
5 |
6 | /**
7 | * Streaming wrapper to `asynckit.parallel`
8 | *
9 | * @param {array|object} list - array or object (named list) to iterate over
10 | * @param {function} iterator - iterator to run
11 | * @param {function} callback - invoked when all elements processed
12 | * @returns {stream.Readable#}
13 | */
14 | function ReadableParallel(list, iterator, callback)
15 | {
16 | if (!(this instanceof ReadableParallel))
17 | {
18 | return new ReadableParallel(list, iterator, callback);
19 | }
20 |
21 | // turn on object mode
22 | ReadableParallel.super_.call(this, {objectMode: true});
23 |
24 | this._start(parallel, list, iterator, callback);
25 | }
26 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/lib/readable_serial.js:
--------------------------------------------------------------------------------
1 | var serial = require('../serial.js');
2 |
3 | // API
4 | module.exports = ReadableSerial;
5 |
6 | /**
7 | * Streaming wrapper to `asynckit.serial`
8 | *
9 | * @param {array|object} list - array or object (named list) to iterate over
10 | * @param {function} iterator - iterator to run
11 | * @param {function} callback - invoked when all elements processed
12 | * @returns {stream.Readable#}
13 | */
14 | function ReadableSerial(list, iterator, callback)
15 | {
16 | if (!(this instanceof ReadableSerial))
17 | {
18 | return new ReadableSerial(list, iterator, callback);
19 | }
20 |
21 | // turn on object mode
22 | ReadableSerial.super_.call(this, {objectMode: true});
23 |
24 | this._start(serial, list, iterator, callback);
25 | }
26 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/lib/terminator.js:
--------------------------------------------------------------------------------
1 | var abort = require('./abort.js')
2 | , async = require('./async.js')
3 | ;
4 |
5 | // API
6 | module.exports = terminator;
7 |
8 | /**
9 | * Terminates jobs in the attached state context
10 | *
11 | * @this AsyncKitState#
12 | * @param {function} callback - final callback to invoke after termination
13 | */
14 | function terminator(callback)
15 | {
16 | if (!Object.keys(this.jobs).length)
17 | {
18 | return;
19 | }
20 |
21 | // fast forward iteration index
22 | this.index = this.size;
23 |
24 | // abort jobs
25 | abort(this);
26 |
27 | // send back results we have so far
28 | async(callback)(null, this.results);
29 | }
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/serial.js:
--------------------------------------------------------------------------------
1 | var serialOrdered = require('./serialOrdered.js');
2 |
3 | // Public API
4 | module.exports = serial;
5 |
6 | /**
7 | * Runs iterator over provided array elements in series
8 | *
9 | * @param {array|object} list - array or object (named list) to iterate over
10 | * @param {function} iterator - iterator to run
11 | * @param {function} callback - invoked when all elements processed
12 | * @returns {function} - jobs terminator
13 | */
14 | function serial(list, iterator, callback)
15 | {
16 | return serialOrdered(list, iterator, null, callback);
17 | }
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/form-data/node_modules/asynckit/stream.js:
--------------------------------------------------------------------------------
1 | var inherits = require('util').inherits
2 | , Readable = require('stream').Readable
3 | , ReadableAsyncKit = require('./lib/readable_asynckit.js')
4 | , ReadableParallel = require('./lib/readable_parallel.js')
5 | , ReadableSerial = require('./lib/readable_serial.js')
6 | , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js')
7 | ;
8 |
9 | // API
10 | module.exports =
11 | {
12 | parallel : ReadableParallel,
13 | serial : ReadableSerial,
14 | serialOrdered : ReadableSerialOrdered,
15 | };
16 |
17 | inherits(ReadableAsyncKit, Readable);
18 |
19 | inherits(ReadableParallel, ReadableAsyncKit);
20 | inherits(ReadableSerial, ReadableAsyncKit);
21 | inherits(ReadableSerialOrdered, ReadableAsyncKit);
22 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015, Ahmad Nassri
2 |
3 | Permission to use, copy, modify, and/or distribute this software for any
4 | purpose with or without fee is hereby granted, provided that the above
5 | copyright notice and this permission notice appear in all copies.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/async.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | var runner = require('./runner')
4 | var schemas = require('./schemas')
5 |
6 | module.exports = function (data, cb) {
7 | return runner(schemas.har, data, cb)
8 | }
9 |
10 | Object.keys(schemas).map(function (name) {
11 | module.exports[name] = function (data, cb) {
12 | return runner(schemas[name], data, cb)
13 | }
14 | })
15 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/error.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | function ValidationError (errors) {
4 | this.name = 'ValidationError'
5 | this.errors = errors
6 | }
7 |
8 | ValidationError.prototype = Error.prototype
9 |
10 | module.exports = ValidationError
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | var Promise = require('pinkie-promise')
4 | var runner = require('./runner')
5 | var schemas = require('./schemas')
6 |
7 | var promisify = function (schema) {
8 | return function (data) {
9 | return new Promise(function (resolve, reject) {
10 | runner(schema, data, function (err, valid) {
11 | return err === null ? resolve(data) : reject(err)
12 | })
13 | })
14 | }
15 | }
16 |
17 | module.exports = promisify(schemas.har)
18 |
19 | // utility methods for all parts of the schema
20 | Object.keys(schemas).map(function (name) {
21 | module.exports[name] = promisify(schemas[name])
22 | })
23 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/runner.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | var schemas = require('./schemas')
4 | var ValidationError = require('./error')
5 | var validator = require('is-my-json-valid')
6 |
7 | module.exports = function (schema, data, cb) {
8 | // default value
9 | var valid = false
10 |
11 | // validator config
12 | var validate = validator(schema, {
13 | greedy: true,
14 | verbose: true,
15 | schemas: schemas
16 | })
17 |
18 | // execute is-my-json-valid
19 | if (data !== undefined) {
20 | valid = validate(data)
21 | }
22 |
23 | // callback?
24 | if (typeof cb === 'function') {
25 | return cb(validate.errors ? new ValidationError(validate.errors) : null, valid)
26 | }
27 |
28 | return valid
29 | }
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/cache.json:
--------------------------------------------------------------------------------
1 | {
2 | "properties": {
3 | "beforeRequest": {
4 | "$ref": "#cacheEntry"
5 | },
6 | "afterRequest": {
7 | "$ref": "#cacheEntry"
8 | },
9 | "comment": {
10 | "type": "string"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/cacheEntry.json:
--------------------------------------------------------------------------------
1 | {
2 | "oneOf": [{
3 | "type": "object",
4 | "optional": true,
5 | "required": [
6 | "lastAccess",
7 | "eTag",
8 | "hitCount"
9 | ],
10 | "properties": {
11 | "expires": {
12 | "type": "string"
13 | },
14 | "lastAccess": {
15 | "type": "string"
16 | },
17 | "eTag": {
18 | "type": "string"
19 | },
20 | "hitCount": {
21 | "type": "integer"
22 | },
23 | "comment": {
24 | "type": "string"
25 | }
26 | }
27 | }, {
28 | "type": null,
29 | "additionalProperties": false
30 | }]
31 | }
32 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/content.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "required": [
4 | "size",
5 | "mimeType"
6 | ],
7 | "properties": {
8 | "size": {
9 | "type": "integer"
10 | },
11 | "compression": {
12 | "type": "integer"
13 | },
14 | "mimeType": {
15 | "type": "string"
16 | },
17 | "text": {
18 | "type": "string"
19 | },
20 | "encoding": {
21 | "type": "string"
22 | },
23 | "comment": {
24 | "type": "string"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/cookie.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "required": [
4 | "name",
5 | "value"
6 | ],
7 | "properties": {
8 | "name": {
9 | "type": "string"
10 | },
11 | "value": {
12 | "type": "string"
13 | },
14 | "path": {
15 | "type": "string"
16 | },
17 | "domain": {
18 | "type": "string"
19 | },
20 | "expires": {
21 | "type": ["string", "null"],
22 | "format": "date-time"
23 | },
24 | "httpOnly": {
25 | "type": "boolean"
26 | },
27 | "secure": {
28 | "type": "boolean"
29 | },
30 | "comment": {
31 | "type": "string"
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/creator.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "required": [
4 | "name",
5 | "version"
6 | ],
7 | "properties": {
8 | "name": {
9 | "type": "string"
10 | },
11 | "version": {
12 | "type": "string"
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/har.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "required": [
4 | "log"
5 | ],
6 | "properties": {
7 | "log": {
8 | "$ref": "#log"
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/log.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "required": [
4 | "version",
5 | "creator",
6 | "entries"
7 | ],
8 | "properties": {
9 | "version": {
10 | "type": "string"
11 | },
12 | "creator": {
13 | "$ref": "#creator"
14 | },
15 | "browser": {
16 | "$ref": "#creator"
17 | },
18 | "pages": {
19 | "type": "array",
20 | "items": {
21 | "$ref": "#page"
22 | }
23 | },
24 | "entries": {
25 | "type": "array",
26 | "items": {
27 | "$ref": "#entry"
28 | }
29 | },
30 | "comment": {
31 | "type": "string"
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/page.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "optional": true,
4 | "required": [
5 | "startedDateTime",
6 | "id",
7 | "title",
8 | "pageTimings"
9 | ],
10 | "properties": {
11 | "startedDateTime": {
12 | "type": "string",
13 | "format": "date-time",
14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
15 | },
16 | "id": {
17 | "type": "string",
18 | "unique": true
19 | },
20 | "title": {
21 | "type": "string"
22 | },
23 | "pageTimings": {
24 | "$ref": "#pageTimings"
25 | },
26 | "comment": {
27 | "type": "string"
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/pageTimings.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "properties": {
4 | "onContentLoad": {
5 | "type": "number",
6 | "min": -1
7 | },
8 | "onLoad": {
9 | "type": "number",
10 | "min": -1
11 | },
12 | "comment": {
13 | "type": "string"
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/postData.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "optional": true,
4 | "required": [
5 | "mimeType"
6 | ],
7 | "properties": {
8 | "mimeType": {
9 | "type": "string"
10 | },
11 | "text": {
12 | "type": "string"
13 | },
14 | "params": {
15 | "type": "array",
16 | "required": [
17 | "name"
18 | ],
19 | "properties": {
20 | "name": {
21 | "type": "string"
22 | },
23 | "value": {
24 | "type": "string"
25 | },
26 | "fileName": {
27 | "type": "string"
28 | },
29 | "contentType": {
30 | "type": "string"
31 | },
32 | "comment": {
33 | "type": "string"
34 | }
35 | }
36 | },
37 | "comment": {
38 | "type": "string"
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/record.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "object",
3 | "required": [
4 | "name",
5 | "value"
6 | ],
7 | "properties": {
8 | "name": {
9 | "type": "string"
10 | },
11 | "value": {
12 | "type": "string"
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/lib/schemas/timings.json:
--------------------------------------------------------------------------------
1 | {
2 | "required": [
3 | "send",
4 | "wait",
5 | "receive"
6 | ],
7 | "properties": {
8 | "dns": {
9 | "type": "number",
10 | "min": -1
11 | },
12 | "connect": {
13 | "type": "number",
14 | "min": -1
15 | },
16 | "blocked": {
17 | "type": "number",
18 | "min": -1
19 | },
20 | "send": {
21 | "type": "number",
22 | "min": -1
23 | },
24 | "wait": {
25 | "type": "number",
26 | "min": -1
27 | },
28 | "receive": {
29 | "type": "number",
30 | "min": -1
31 | },
32 | "ssl": {
33 | "type": "number",
34 | "min": -1
35 | },
36 | "comment": {
37 | "type": "string"
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
4 |
5 | module.exports = function (str) {
6 | if (typeof str !== 'string') {
7 | throw new TypeError('Expected a string');
8 | }
9 |
10 | return str.replace(matchOperatorsRe, '\\$&');
11 | };
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/readme.md:
--------------------------------------------------------------------------------
1 | # escape-string-regexp [](https://travis-ci.org/sindresorhus/escape-string-regexp)
2 |
3 | > Escape RegExp special characters
4 |
5 |
6 | ## Install
7 |
8 | ```
9 | $ npm install --save escape-string-regexp
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | const escapeStringRegexp = require('escape-string-regexp');
17 |
18 | const escapedString = escapeStringRegexp('how much $ for a unicorn?');
19 | //=> 'how much \$ for a unicorn\?'
20 |
21 | new RegExp(escapedString);
22 | ```
23 |
24 |
25 | ## License
26 |
27 | MIT © [Sindre Sorhus](http://sindresorhus.com)
28 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var ansiRegex = require('ansi-regex');
3 | var re = new RegExp(ansiRegex().source); // remove the `g` flag
4 | module.exports = re.test.bind(re);
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function () {
3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
4 | };
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/readme.md:
--------------------------------------------------------------------------------
1 | # ansi-regex [](https://travis-ci.org/sindresorhus/ansi-regex)
2 |
3 | > Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
4 |
5 |
6 | ## Install
7 |
8 | ```
9 | $ npm install --save ansi-regex
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | var ansiRegex = require('ansi-regex');
17 |
18 | ansiRegex().test('\u001b[4mcake\u001b[0m');
19 | //=> true
20 |
21 | ansiRegex().test('cake');
22 | //=> false
23 |
24 | '\u001b[4mcake\u001b[0m'.match(ansiRegex());
25 | //=> ['\u001b[4m', '\u001b[0m']
26 | ```
27 |
28 |
29 | ## License
30 |
31 | MIT © [Sindre Sorhus](http://sindresorhus.com)
32 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var ansiRegex = require('ansi-regex')();
3 |
4 | module.exports = function (str) {
5 | return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
6 | };
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function () {
3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
4 | };
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/readme.md:
--------------------------------------------------------------------------------
1 | # ansi-regex [](https://travis-ci.org/sindresorhus/ansi-regex)
2 |
3 | > Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
4 |
5 |
6 | ## Install
7 |
8 | ```
9 | $ npm install --save ansi-regex
10 | ```
11 |
12 |
13 | ## Usage
14 |
15 | ```js
16 | var ansiRegex = require('ansi-regex');
17 |
18 | ansiRegex().test('\u001b[4mcake\u001b[0m');
19 | //=> true
20 |
21 | ansiRegex().test('cake');
22 | //=> false
23 |
24 | '\u001b[4mcake\u001b[0m'.match(ansiRegex());
25 | //=> ['\u001b[4m', '\u001b[0m']
26 | ```
27 |
28 |
29 | ## License
30 |
31 | MIT © [Sindre Sorhus](http://sindresorhus.com)
32 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.npmignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .DS_Store
3 | node_modules/
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.12"
5 | - "io.js"
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/README.md:
--------------------------------------------------------------------------------
1 | # graceful-readlink
2 | [](https://www.npmjs.org/package/graceful-readlink)
3 | [](https://www.npmjs.org/package/graceful-readlink)
4 |
5 |
6 | ## Usage
7 |
8 | ```js
9 | var readlinkSync = require('graceful-readlink').readlinkSync;
10 | console.log(readlinkSync(f));
11 | // output
12 | // the file pointed to when `f` is a symbolic link
13 | // the `f` itself when `f` is not a symbolic link
14 | ```
15 | ## Licence
16 |
17 | MIT License
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/index.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs')
2 | , lstat = fs.lstatSync;
3 |
4 | exports.readlinkSync = function (p) {
5 | if (lstat(p).isSymbolicLink()) {
6 | return fs.readlinkSync(p);
7 | } else {
8 | return p;
9 | }
10 | };
11 |
12 |
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | cosmicrealms.com
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/example.js:
--------------------------------------------------------------------------------
1 | var validator = require('./')
2 |
3 | var validate = validator({
4 | type: 'object',
5 | properties: {
6 | hello: {
7 | required: true,
8 | type: 'string'
9 | }
10 | }
11 | })
12 |
13 | console.log('should be valid', validate({hello: 'world'}))
14 | console.log('should not be valid', validate({}))
15 |
16 | // get the last error message by checking validate.error
17 | // the following will print "data.hello is required"
18 | console.log('the errors were:', validate.errors)
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/example.js:
--------------------------------------------------------------------------------
1 | var genfun = require('./')
2 |
3 | var multiply = function(a, b) {
4 | return a * b
5 | }
6 |
7 | var addAndMultiplyNumber = function(val) {
8 | var fn = genfun()
9 | ('function(n) {')
10 | ('if (typeof n !== "number") {') // ending a line with { will indent the source
11 | ('throw new Error("argument should be a number")')
12 | ('}')
13 | ('var result = multiply(%d, n+%d)', val, val)
14 | ('return result')
15 | ('}')
16 |
17 | // use fn.toString() if you want to see the generated source
18 |
19 | return fn.toFunction({
20 | multiply: multiply
21 | })
22 | }
23 |
24 | var addAndMultiply2 = addAndMultiplyNumber(2)
25 |
26 | console.log(addAndMultiply2.toString())
27 | console.log('(3 + 2) * 2 =', addAndMultiply2(3))
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/README.md:
--------------------------------------------------------------------------------
1 | # generate-object-property
2 |
3 | Generate safe JS code that can used to reference a object property
4 |
5 | npm install generate-object-property
6 |
7 | [](http://travis-ci.org/mafintosh/generate-object-property)
8 |
9 | ## Usage
10 |
11 | ``` js
12 | var gen = require('generate-object-property');
13 | console.log(gen('a','b')); // prints a.b
14 | console.log(gen('a', 'foo-bar')); // prints a["foo-bar"]
15 | ```
16 |
17 | ## License
18 |
19 | MIT
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js:
--------------------------------------------------------------------------------
1 | var isProperty = require('is-property')
2 |
3 | var gen = function(obj, prop) {
4 | return isProperty(prop) ? obj+'.'+prop : obj+'['+JSON.stringify(prop)+']'
5 | }
6 |
7 | gen.valid = isProperty
8 | gen.property = function (prop) {
9 | return isProperty(prop) ? prop : JSON.stringify(prop)
10 | }
11 |
12 | module.exports = gen
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 |
10 | pids
11 | logs
12 | results
13 |
14 | npm-debug.log
15 | node_modules/*
16 | *.DS_Store
17 | test/*
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/README.md:
--------------------------------------------------------------------------------
1 | is-property
2 | ===========
3 | Tests if a property of a JavaScript object can be accessed using the dot (.) notation or if it must be enclosed in brackets, (ie use x[" ... "])
4 |
5 | Example
6 | -------
7 |
8 | ```javascript
9 | var isProperty = require("is-property")
10 |
11 | console.log(isProperty("foo")) //Prints true
12 | console.log(isProperty("0")) //Prints false
13 | ```
14 |
15 | Install
16 | -------
17 |
18 | npm install is-property
19 |
20 | ### `require("is-property")(str)`
21 | Checks if str is a property
22 |
23 | * `str` is a string which we will test if it is a property or not
24 |
25 | **Returns** true or false depending if str is a property
26 |
27 | ## Credits
28 | (c) 2013 Mikola Lysenko. MIT License
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/test.js:
--------------------------------------------------------------------------------
1 | var tape = require('tape')
2 | var gen = require('./')
3 |
4 | tape('valid', function(t) {
5 | t.same(gen('a', 'b'), 'a.b')
6 | t.end()
7 | })
8 |
9 | tape('invalid', function(t) {
10 | t.same(gen('a', '-b'), 'a["-b"]')
11 | t.end()
12 | })
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | - 0.10
6 | - 0.11
7 | - 0.12
8 | - iojs-v1.0
9 | - iojs-v2.0
10 | - iojs
11 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "maxdepth": 4,
3 | "maxstatements": 200,
4 | "maxcomplexity": 12,
5 | "maxlen": 80,
6 | "maxparams": 5,
7 |
8 | "curly": true,
9 | "eqeqeq": true,
10 | "immed": true,
11 | "latedef": false,
12 | "noarg": true,
13 | "noempty": true,
14 | "nonew": true,
15 | "undef": true,
16 | "unused": "vars",
17 | "trailing": true,
18 |
19 | "quotmark": true,
20 | "expr": true,
21 | "asi": true,
22 |
23 | "browser": false,
24 | "esnext": true,
25 | "devel": false,
26 | "node": false,
27 | "nonstandard": false,
28 |
29 | "predef": ["require", "module", "__dirname", "__filename"]
30 | }
31 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/Makefile:
--------------------------------------------------------------------------------
1 | browser:
2 | node ./support/compile
3 |
4 | .PHONY: browser
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/immutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | var hasOwnProperty = Object.prototype.hasOwnProperty;
4 |
5 | function extend() {
6 | var target = {}
7 |
8 | for (var i = 0; i < arguments.length; i++) {
9 | var source = arguments[i]
10 |
11 | for (var key in source) {
12 | if (hasOwnProperty.call(source, key)) {
13 | target[key] = source[key]
14 | }
15 | }
16 | }
17 |
18 | return target
19 | }
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/mutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | var hasOwnProperty = Object.prototype.hasOwnProperty;
4 |
5 | function extend(target) {
6 | for (var i = 1; i < arguments.length; i++) {
7 | var source = arguments[i]
8 |
9 | for (var key in source) {
10 | if (hasOwnProperty.call(source, key)) {
11 | target[key] = source[key]
12 | }
13 | }
14 | }
15 |
16 | return target
17 | }
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/require.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs')
2 | var path = require('path')
3 | var compile = require('./')
4 |
5 | delete require.cache[require.resolve(__filename)]
6 |
7 | module.exports = function(file, opts) {
8 | file = path.join(path.dirname(module.parent.filename), file)
9 | if (!fs.existsSync(file) && fs.existsSync(file+'.schema')) file += '.schema'
10 | if (!fs.existsSync(file) && fs.existsSync(file+'.json')) file += '.json'
11 | return compile(fs.readFileSync(file, 'utf-8'), opts)
12 | }
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "description": "minItems validation",
4 | "schema": {"minItems": 1},
5 | "tests": [
6 | {
7 | "description": "longer is valid",
8 | "data": [1, 2],
9 | "valid": true
10 | },
11 | {
12 | "description": "exact length is valid",
13 | "data": [1],
14 | "valid": true
15 | },
16 | {
17 | "description": "too short is invalid",
18 | "data": [],
19 | "valid": false
20 | },
21 | {
22 | "description": "ignores non-arrays",
23 | "data": "",
24 | "valid": true
25 | }
26 | ]
27 | }
28 | ]
29 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "description": "validation of null and format",
4 | "schema": {"type": ["null", "string"], "format": "date-time"},
5 | "tests": [
6 | {
7 | "description": "a valid date-time string",
8 | "data": "1963-06-19T08:30:06.283185Z",
9 | "valid": true
10 | },
11 | {
12 | "description": "allow null",
13 | "data": null,
14 | "valid": true
15 | }
16 | ]
17 | }
18 | ]
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "description": "multiple types of null and object containing properties",
4 | "schema": {
5 | "type": ["null", "object"],
6 | "properties": {
7 | "foo": {}
8 | }
9 | },
10 | "tests": [
11 | {
12 | "description": "null is valid",
13 | "data": null,
14 | "valid": true
15 | }
16 | ]
17 | }
18 | ]
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "description": "pattern validation",
4 | "schema": {"pattern": "^a*$"},
5 | "tests": [
6 | {
7 | "description": "a matching pattern is valid",
8 | "data": "aaa",
9 | "valid": true
10 | },
11 | {
12 | "description": "a non-matching pattern is invalid",
13 | "data": "abc",
14 | "valid": false
15 | },
16 | {
17 | "description": "ignores non-strings",
18 | "data": true,
19 | "valid": true
20 | }
21 | ]
22 | }
23 | ]
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema.js:
--------------------------------------------------------------------------------
1 | var tape = require('tape')
2 | var fs = require('fs')
3 | var validator = require('../')
4 |
5 | var files = fs.readdirSync(__dirname+'/json-schema-draft4')
6 | .map(function(file) {
7 | if (file === 'definitions.json') return null
8 | if (file === 'refRemote.json') return null
9 | return require('./json-schema-draft4/'+file)
10 | })
11 | .filter(Boolean)
12 |
13 | files.forEach(function(file) {
14 | file.forEach(function(f) {
15 | tape('json-schema-test-suite '+f.description, function(t) {
16 | var validate = validator(f.schema)
17 | f.tests.forEach(function(test) {
18 | t.same(validate(test.data), test.valid, test.description)
19 | })
20 | t.end()
21 | })
22 | })
23 | })
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = typeof Promise === 'function' ? Promise : require('pinkie');
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | components
7 | build
8 | results.tap
9 | results.xml
10 | npm-shrinkwrap.json
11 | config.json
12 | .DS_Store
13 | */.DS_Store
14 | */*/.DS_Store
15 | ._*
16 | */._*
17 | */*/._*
18 | coverage.*
19 | lib-cov
20 |
21 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
5 |
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "hawk",
3 | "main": "lib/browser.js",
4 | "license": "./LICENSE",
5 | "ignore": [
6 | "!lib",
7 | "lib/*",
8 | "!lib/browser.js",
9 | "index.js"
10 | ],
11 | "keywords": [
12 | "http",
13 | "authentication",
14 | "scheme",
15 | "hawk"
16 | ],
17 | "authors": [
18 | "Eran Hammer "
19 | ],
20 | "repository": {
21 | "type": "git",
22 | "url": "git://github.com/hueniverse/hawk.git"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "hawk",
3 | "repo": "hueniverse/hawk",
4 | "description": "HTTP Hawk Authentication Scheme",
5 | "version": "1.0.0",
6 | "keywords": [
7 | "http",
8 | "authentication",
9 | "scheme",
10 | "hawk"
11 | ],
12 | "dependencies": {},
13 | "development": {},
14 | "license": "BSD",
15 | "main": "lib/browser.js",
16 | "scripts": [
17 | "lib/browser.js"
18 | ]
19 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/images/hawk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/images/hawk.png
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/images/logo.png
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/lib/index.js:
--------------------------------------------------------------------------------
1 | // Export sub-modules
2 |
3 | exports.error = exports.Error = require('boom');
4 | exports.sntp = require('sntp');
5 |
6 | exports.server = require('./server');
7 | exports.client = require('./client');
8 | exports.crypto = require('./crypto');
9 | exports.utils = require('./utils');
10 |
11 | exports.uri = {
12 | authenticate: exports.server.authenticateBewit,
13 | getBewit: exports.client.getBewit
14 | };
15 |
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/boom/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | results.tap
7 | results.xml
8 | npm-shrinkwrap.json
9 | config.json
10 | .DS_Store
11 | */.DS_Store
12 | */*/.DS_Store
13 | ._*
14 | */._*
15 | */*/._*
16 | coverage.*
17 | lib-cov
18 |
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
5 | - 4.0
6 |
7 | sudo: false
8 |
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/boom/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md).
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | results.tap
7 | results.xml
8 | npm-shrinkwrap.json
9 | config.json
10 | .DS_Store
11 | */.DS_Store
12 | */*/.DS_Store
13 | ._*
14 | */._*
15 | */*/._*
16 | coverage.*
17 | lib-cov
18 |
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
5 | - 4.0
6 |
7 | sudo: false
8 |
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md:
--------------------------------------------------------------------------------
1 | cryptiles
2 | =========
3 |
4 | General purpose crypto utilities
5 |
6 | [](http://travis-ci.org/hapijs/cryptiles)
7 |
8 | Lead Maintainer - [C J Silverio](https://github.com/ceejbot)
9 |
10 | ## Methods
11 |
12 | ### `randomString( size)`
13 | Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string.
14 |
15 | ### `fixedTimeComparison( a, b)`
16 | Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns `true` if the strings match, `false` if they differ.
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | results.tap
7 | results.xml
8 | npm-shrinkwrap.json
9 | config.json
10 | .DS_Store
11 | */.DS_Store
12 | */*/.DS_Store
13 | ._*
14 | */._*
15 | */*/._*
16 | coverage.*
17 | lib-cov
18 | complexity.md
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
5 | - 4.0
6 |
7 | sudo: false
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md).
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js:
--------------------------------------------------------------------------------
1 | exports.x = 1;
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js:
--------------------------------------------------------------------------------
1 | exports.y = 2;
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js:
--------------------------------------------------------------------------------
1 | exports.z = 3;
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | results.tap
7 | results.xml
8 | npm-shrinkwrap.json
9 | config.json
10 | .DS_Store
11 | */.DS_Store
12 | */*/.DS_Store
13 | ._*
14 | */._*
15 | */*/._*
16 | coverage.*
17 | lib-cov
18 |
19 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
5 |
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile:
--------------------------------------------------------------------------------
1 | test:
2 | @node node_modules/lab/bin/lab
3 | test-cov:
4 | @node node_modules/lab/bin/lab -t 100 -m 3000
5 | test-cov-html:
6 | @node node_modules/lab/bin/lab -r html -o coverage.html
7 |
8 | .PHONY: test test-cov test-cov-html
9 |
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js:
--------------------------------------------------------------------------------
1 | var Sntp = require('../lib');
2 |
3 | // Request offset once
4 |
5 | Sntp.offset(function (err, offset) {
6 |
7 | console.log(offset); // New (served fresh)
8 |
9 | // Request offset again
10 |
11 | Sntp.offset(function (err, offset) {
12 |
13 | console.log(offset); // Identical (served from cache)
14 | });
15 | });
16 |
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js:
--------------------------------------------------------------------------------
1 | var Sntp = require('../lib');
2 |
3 | // All options are optional
4 |
5 | var options = {
6 | host: 'nist1-sj.ustiming.org', // Defaults to pool.ntp.org
7 | port: 123, // Defaults to 123 (NTP)
8 | resolveReference: true, // Default to false (not resolving)
9 | timeout: 1000 // Defaults to zero (no timeout)
10 | };
11 |
12 | // Request server time
13 |
14 | Sntp.time(options, function (err, time) {
15 |
16 | if (err) {
17 | console.log('Failed: ' + err.message);
18 | process.exit(1);
19 | }
20 |
21 | console.log(time);
22 | console.log('Local clock is off by: ' + time.t + ' milliseconds');
23 | process.exit(0);
24 | });
25 |
26 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/hawk/node_modules/sntp/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib');
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ((nil . ((indent-tabs-mode . nil)
2 | (tab-width . 8)
3 | (fill-column . 80)))
4 | (js-mode . ((js-indent-level . 2)
5 | (indent-tabs-mode . nil)
6 | )))
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Joyent, Inc.
2 |
3 | var parser = require('./parser');
4 | var signer = require('./signer');
5 | var verify = require('./verify');
6 | var utils = require('./utils');
7 |
8 |
9 |
10 | ///--- API
11 |
12 | module.exports = {
13 |
14 | parse: parser.parseRequest,
15 | parseRequest: parser.parseRequest,
16 |
17 | sign: signer.signRequest,
18 | signRequest: signer.signRequest,
19 | createSigner: signer.createSigner,
20 | isSigner: signer.isSigner,
21 |
22 | sshKeyToPEM: utils.sshKeyToPEM,
23 | sshKeyFingerprint: utils.fingerprint,
24 | pemToRsaSSHKey: utils.pemToRsaSSHKey,
25 |
26 | verify: verify.verifySignature,
27 | verifySignature: verify.verifySignature,
28 | verifyHMAC: verify.verifyHMAC
29 | };
30 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-conv:
--------------------------------------------------------------------------------
1 | ../sshpk/bin/sshpk-conv
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-sign:
--------------------------------------------------------------------------------
1 | ../sshpk/bin/sshpk-sign
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-verify:
--------------------------------------------------------------------------------
1 | ../sshpk/bin/sshpk-verify
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/assert-plus/AUTHORS:
--------------------------------------------------------------------------------
1 | Dave Eddy
2 | Fred Kuo
3 | Lars-Magnus Skog
4 | Mark Cavage
5 | Patrick Mooney
6 | Rob Gulewich
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/assert-plus/CHANGES.md:
--------------------------------------------------------------------------------
1 | # assert-plus Changelog
2 |
3 | ## 0.2.0
4 |
5 | - Fix `assert.object(null)` so it throws
6 | - Fix optional/arrayOf exports for non-type-of asserts
7 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid
8 | - Add basic unit test coverage
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "deps/jsstyle"]
2 | path = deps/jsstyle
3 | url = git://github.com/davepacheco/jsstyle
4 | [submodule "deps/javascriptlint"]
5 | path = deps/javascriptlint
6 | url = git://github.com/davepacheco/javascriptlint
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (c) 2012, Joyent, Inc. All rights reserved.
3 | #
4 | # Makefile: top-level Makefile
5 | #
6 | # This Makefile contains only repo-specific logic and uses included makefiles
7 | # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are
8 | # used by other repos as well.
9 | #
10 |
11 | #
12 | # Files
13 | #
14 | JS_FILES := $(shell find lib -name '*.js')
15 | JSL_FILES_NODE = $(JS_FILES)
16 | JSSTYLE_FILES = $(JS_FILES)
17 | JSL_CONF_NODE = jsl.node.conf
18 |
19 | # Default target is "check"
20 | check:
21 |
22 | include ./Makefile.deps
23 | include ./Makefile.targ
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/examples/simple.js:
--------------------------------------------------------------------------------
1 | var mod_extsprintf = require('extsprintf');
2 | console.log(mod_extsprintf.sprintf('hello %25s', 'world'));
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/README.md:
--------------------------------------------------------------------------------
1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator).
2 |
3 | Code is licensed under the AFL or BSD license as part of the Persevere
4 | project which is administered under the Dojo foundation,
5 | and all contributions require a Dojo CLA.
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-00/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-00/links:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/links#",
4 | "type" : "object",
5 |
6 | "properties" : {
7 | "href" : {
8 | "type" : "string"
9 | },
10 |
11 | "rel" : {
12 | "type" : "string"
13 | },
14 |
15 | "method" : {
16 | "type" : "string",
17 | "default" : "GET",
18 | "optional" : true
19 | },
20 |
21 | "enctype" : {
22 | "type" : "string",
23 | "requires" : "method",
24 | "optional" : true
25 | },
26 |
27 | "properties" : {
28 | "type" : "object",
29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-00/hyper-schema#"},
30 | "optional" : true
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-01/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-01/links:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/links#",
4 | "type" : "object",
5 |
6 | "properties" : {
7 | "href" : {
8 | "type" : "string"
9 | },
10 |
11 | "rel" : {
12 | "type" : "string"
13 | },
14 |
15 | "method" : {
16 | "type" : "string",
17 | "default" : "GET",
18 | "optional" : true
19 | },
20 |
21 | "enctype" : {
22 | "type" : "string",
23 | "requires" : "method",
24 | "optional" : true
25 | },
26 |
27 | "properties" : {
28 | "type" : "object",
29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-01/hyper-schema#"},
30 | "optional" : true
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-02/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-02/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-03/examples/address:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "An Address following the convention of http://microformats.org/wiki/hcard",
3 | "type" : "object",
4 | "properties" : {
5 | "post-office-box" : { "type" : "string" },
6 | "extended-address" : { "type" : "string" },
7 | "street-address" : { "type":"string" },
8 | "locality" : { "type" : "string", "required" : true },
9 | "region" : { "type" : "string", "required" : true },
10 | "postal-code" : { "type" : "string" },
11 | "country-name" : { "type" : "string", "required" : true }
12 | },
13 | "dependencies" : {
14 | "post-office-box" : "street-address",
15 | "extended-address" : "street-address",
16 | "street-address" : "region",
17 | "locality" : "region",
18 | "region" : "country-name"
19 | }
20 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-03/examples/geo:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "A geographical coordinate",
3 | "type" : "object",
4 | "properties" : {
5 | "latitude" : { "type" : "number" },
6 | "longitude" : { "type" : "number" }
7 | }
8 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-03/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-03/json-ref#",
4 |
5 | "additionalItems" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{id}",
11 | "rel" : "self"
12 | },
13 |
14 | {
15 | "href" : "{$ref}",
16 | "rel" : "full"
17 | },
18 |
19 | {
20 | "href" : "{$schema}",
21 | "rel" : "describedby"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/.gitmodules:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/.gitmodules
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (c) 2012, Joyent, Inc. All rights reserved.
3 | #
4 | # Makefile: top-level Makefile
5 | #
6 | # This Makefile contains only repo-specific logic and uses included makefiles
7 | # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are
8 | # used by other repos as well.
9 | #
10 |
11 | #
12 | # Tools
13 | #
14 | NPM = npm
15 |
16 | #
17 | # Files
18 | #
19 | JS_FILES := $(shell find lib examples tests -name '*.js')
20 | JSL_FILES_NODE = $(JS_FILES)
21 | JSSTYLE_FILES = $(JS_FILES)
22 | JSL_CONF_NODE = jsl.node.conf
23 |
24 | .PHONY: all
25 | all:
26 | $(NPM) install
27 |
28 | .PHONY: test
29 | test:
30 | node tests/tst.inherit.js
31 | node tests/tst.verror.js
32 | node tests/tst.werror.js
33 | @echo all tests passed
34 |
35 | include ./Makefile.targ
36 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/varargs.js:
--------------------------------------------------------------------------------
1 | var verror = require('../lib/verror');
2 |
3 | var opname = 'read';
4 | var err = new verror.VError('"%s" operation failed', opname);
5 | console.log(err.message);
6 | console.log(err.stack);
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/verror.js:
--------------------------------------------------------------------------------
1 | var mod_fs = require('fs');
2 | var mod_verror = require('../lib/verror');
3 |
4 | var filename = '/nonexistent';
5 |
6 | mod_fs.stat(filename, function (err1) {
7 | var err2 = new mod_verror.VError(err1, 'failed to stat "%s"', filename);
8 |
9 | /* The following would normally be higher up the stack. */
10 | var err3 = new mod_verror.VError(err2, 'failed to handle request');
11 | console.log(err3.message);
12 | console.log(err3.stack);
13 | });
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/werror.js:
--------------------------------------------------------------------------------
1 | var mod_fs = require('fs');
2 | var mod_verror = require('../lib/verror');
3 |
4 | var filename = '/nonexistent';
5 |
6 | mod_fs.stat(filename, function (err1) {
7 | var err2 = new mod_verror.WError(err1, 'failed to stat "%s"', filename);
8 |
9 | /* The following would normally be higher up the stack. */
10 | var err3 = new mod_verror.WError(err2, 'failed to handle request');
11 | console.log(err3.message);
12 | console.log(err3.toString());
13 | console.log(err3.stack);
14 | });
15 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 | man/src
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 | after_success:
11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio'
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | *.log
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/errors.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 |
6 | newInvalidAsn1Error: function(msg) {
7 | var e = new Error();
8 | e.name = 'InvalidAsn1Error';
9 | e.message = msg || '';
10 | return e;
11 | }
12 |
13 | };
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | var errors = require('./errors');
4 | var types = require('./types');
5 |
6 | var Reader = require('./reader');
7 | var Writer = require('./writer');
8 |
9 |
10 | ///--- Exports
11 |
12 | module.exports = {
13 |
14 | Reader: Reader,
15 |
16 | Writer: Writer
17 |
18 | };
19 |
20 | for (var t in types) {
21 | if (types.hasOwnProperty(t))
22 | module.exports[t] = types[t];
23 | }
24 | for (var e in errors) {
25 | if (errors.hasOwnProperty(e))
26 | module.exports[e] = errors[e];
27 | }
28 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/types.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 | EOC: 0,
6 | Boolean: 1,
7 | Integer: 2,
8 | BitString: 3,
9 | OctetString: 4,
10 | Null: 5,
11 | OID: 6,
12 | ObjectDescriptor: 7,
13 | External: 8,
14 | Real: 9, // float
15 | Enumeration: 10,
16 | PDV: 11,
17 | Utf8String: 12,
18 | RelativeOID: 13,
19 | Sequence: 16,
20 | Set: 17,
21 | NumericString: 18,
22 | PrintableString: 19,
23 | T61String: 20,
24 | VideotexString: 21,
25 | IA5String: 22,
26 | UTCTime: 23,
27 | GeneralizedTime: 24,
28 | GraphicString: 25,
29 | VisibleString: 26,
30 | GeneralString: 28,
31 | UniversalString: 29,
32 | CharacterString: 30,
33 | BMPString: 31,
34 | Constructor: 32,
35 | Context: 128
36 | };
37 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | // If you have no idea what ASN.1 or BER is, see this:
4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc
5 |
6 | var Ber = require('./ber/index');
7 |
8 |
9 |
10 | ///--- Exported API
11 |
12 | module.exports = {
13 |
14 | Ber: Ber,
15 |
16 | BerReader: Ber.Reader,
17 |
18 | BerWriter: Ber.Writer
19 |
20 | };
21 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/AUTHORS:
--------------------------------------------------------------------------------
1 | Dave Eddy
2 | Fred Kuo
3 | Lars-Magnus Skog
4 | Mark Cavage
5 | Patrick Mooney
6 | Rob Gulewich
7 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/CHANGES.md:
--------------------------------------------------------------------------------
1 | # assert-plus Changelog
2 |
3 | ## 1.0.0
4 |
5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
6 | - Add assert.finite check. Previous assert.number callers should use this if
7 | they expect Infinity inputs to throw.
8 |
9 | ## 0.2.0
10 |
11 | - Fix `assert.object(null)` so it throws
12 | - Fix optional/arrayOf exports for non-type-of asserts
13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid
14 | - Add basic unit test coverage
15 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/bcrypt-pbkdf/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/bcrypt-pbkdf/node_modules/tweetnacl/COPYING.txt:
--------------------------------------------------------------------------------
1 | Public Domain
2 |
3 | The person who associated a work with this deed has dedicated the work to the
4 | public domain by waiving all of his or her rights to the work worldwide under
5 | copyright law, including all related and neighboring rights, to the extent
6 | allowed by law.
7 |
8 | You can copy, modify, distribute and perform the work, even for commercial
9 | purposes, all without asking permission.
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 |
10 | pids
11 | logs
12 | results
13 |
14 | npm-debug.log
15 | node_modules
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/README.md:
--------------------------------------------------------------------------------
1 | ecc-jsbn
2 | ========
3 |
4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/).
5 |
6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too.
7 |
8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression).
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/test.js:
--------------------------------------------------------------------------------
1 | var ecc = require("./index.js");
2 | var key1 = new ecc.ECKey(ecc.ECCurves.secp160r1);
3 | var key2 = new ecc.ECKey(ecc.ECCurves.secp160r1);
4 | console.log(key1.deriveSharedSecret(key2));
5 | var key3 = new ecc.ECKey(ecc.ECCurves.secp160r1,key1.PrivateKey);
6 | var key4 = new ecc.ECKey(ecc.ECCurves.secp160r1,key2.PublicKey,true);
7 | console.log(key3.deriveSharedSecret(key4));
8 |
9 | var key1 = new ecc.ECKey(ecc.ECCurves.secp256r1);
10 | var key2 = new ecc.ECKey(ecc.ECCurves.secp256r1);
11 | console.log(key1.deriveSharedSecret(key2));
12 | var key3 = new ecc.ECKey(ecc.ECCurves.secp256r1,key1.PrivateKey);
13 | var key4 = new ecc.ECKey(ecc.ECCurves.secp256r1,key2.PublicKey,true);
14 | console.log(key3.deriveSharedSecret(key4));
15 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/.npmignore:
--------------------------------------------------------------------------------
1 | # Editor, IDE and dev environment stuff
2 | *~
3 | .project
4 | .settings
5 |
6 | # Build files and directories
7 | /coverage
8 | /doc/api
9 | /build/
10 | /test/
11 | /jodid25519-*.tgz
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.11"
5 | branches:
6 | only:
7 | - master
8 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/AUTHORS.md:
--------------------------------------------------------------------------------
1 | * Michele Bini (original Curve25519 core code: curve25519.js)
2 | * Ron Garret (original Ed25519 code: fast-djbec.js)
3 | * Guy Kloss (package refactoring, unit testing)
4 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/almond.1:
--------------------------------------------------------------------------------
1 | if (typeof module === 'object' && module.exports) {
2 | // Restore CommonJS exports once our dependencies have all finished
3 | // loading.
4 | module = __oldModule;
5 | exports = __oldExports;
6 | }
7 | // The modules for your project will be inlined above
8 | // this snippet. Ask almond to synchronously require the
9 | // module value for 'main' here and return it as the
10 | // value to use for the public API for the built file.
11 | return require('jodid25519');
12 | }));
13 | // See https://github.com/jrburke/almond#exporting-a-public-api
14 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/jsdoc.json:
--------------------------------------------------------------------------------
1 | {
2 | "templates": {
3 | "applicationName": "jodid25519 Library",
4 | "disqus": "",
5 | "googleAnalytics": "",
6 | "openGraph": {
7 | "title": "jodid25519 Library",
8 | "type": "website",
9 | "image": "",
10 | "site_name": "",
11 | "url": ""
12 | },
13 | "meta": {
14 | "title": "jodid25519 Library",
15 | "description": "",
16 | "keyword": ""
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.js:
--------------------------------------------------------------------------------
1 | var BigInteger = require('./');
2 | var a = new BigInteger('91823918239182398123');
3 | console.log(a.bitLength());
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/is-typedarray/README.md:
--------------------------------------------------------------------------------
1 | # is-typedarray [](http://github.com/badges/stability-badges)
2 |
3 | Detect whether or not an object is a
4 | [Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).
5 |
6 | ## Usage
7 |
8 | [](https://nodei.co/npm/is-typedarray/)
9 |
10 | ### isTypedArray(array)
11 |
12 | Returns `true` when array is a Typed Array, and `false` when it is not.
13 |
14 | ## License
15 |
16 | MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details.
17 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/isstream/.npmignore:
--------------------------------------------------------------------------------
1 | *.tgz
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/isstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | branches:
7 | only:
8 | - master
9 | notifications:
10 | email:
11 | - rod@vagg.org
12 | script: npm test
13 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/isstream/isstream.js:
--------------------------------------------------------------------------------
1 | var stream = require('stream')
2 |
3 |
4 | function isStream (obj) {
5 | return obj instanceof stream.Stream
6 | }
7 |
8 |
9 | function isReadable (obj) {
10 | return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object'
11 | }
12 |
13 |
14 | function isWritable (obj) {
15 | return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object'
16 | }
17 |
18 |
19 | function isDuplex (obj) {
20 | return isReadable(obj) && isWritable(obj)
21 | }
22 |
23 |
24 | module.exports = isStream
25 | module.exports.isReadable = isReadable
26 | module.exports.isWritable = isWritable
27 | module.exports.isDuplex = isDuplex
28 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/json-stringify-safe/.npmignore:
--------------------------------------------------------------------------------
1 | /*.tgz
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/json-stringify-safe/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## Unreleased
2 | - Fixes stringify to only take ancestors into account when checking
3 | circularity.
4 | It previously assumed every visited object was circular which led to [false
5 | positives][issue9].
6 | Uses the tiny serializer I wrote for [Must.js][must] a year and a half ago.
7 | - Fixes calling the `replacer` function in the proper context (`thisArg`).
8 | - Fixes calling the `cycleReplacer` function in the proper context (`thisArg`).
9 | - Speeds serializing by a factor of
10 | Big-O(h-my-god-it-linearly-searched-every-object) it had ever seen. Searching
11 | only the ancestors for a circular references speeds up things considerably.
12 |
13 | [must]: https://github.com/moll/js-must
14 | [issue9]: https://github.com/isaacs/json-stringify-safe/issues/9
15 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/json-stringify-safe/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) Isaac Z. Schlueter and Contributors
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/json-stringify-safe/Makefile:
--------------------------------------------------------------------------------
1 | NODE_OPTS =
2 | TEST_OPTS =
3 |
4 | love:
5 | @echo "Feel like makin' love."
6 |
7 | test:
8 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot $(TEST_OPTS)
9 |
10 | spec:
11 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec $(TEST_OPTS)
12 |
13 | autotest:
14 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot --watch $(TEST_OPTS)
15 |
16 | autospec:
17 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec --watch $(TEST_OPTS)
18 |
19 | pack:
20 | @file=$$(npm pack); echo "$$file"; tar tf "$$file"
21 |
22 | publish:
23 | npm publish
24 |
25 | tag:
26 | git tag "v$$(node -e 'console.log(require("./package").version)')"
27 |
28 | clean:
29 | rm -f *.tgz
30 | npm prune --production
31 |
32 | .PHONY: love
33 | .PHONY: test spec autotest autospec
34 | .PHONY: pack publish tag
35 | .PHONY: clean
36 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --recursive
2 | --require must
3 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/mime-types/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/node-uuid/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
3 | .nyc_output
4 | coverage
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c:
--------------------------------------------------------------------------------
1 | /*
2 | Test performance of native C UUID generation
3 |
4 | To Compile: cc -luuid benchmark-native.c -o benchmark-native
5 | */
6 |
7 | #include
8 | #include
9 | #include
10 | #include
11 |
12 | int main() {
13 | uuid_t myid;
14 | char buf[36+1];
15 | int i;
16 | struct timeval t;
17 | double start, finish;
18 |
19 | gettimeofday(&t, NULL);
20 | start = t.tv_sec + t.tv_usec/1e6;
21 |
22 | int n = 2e5;
23 | for (i = 0; i < n; i++) {
24 | uuid_generate(myid);
25 | uuid_unparse(myid, buf);
26 | }
27 |
28 | gettimeofday(&t, NULL);
29 | finish = t.tv_sec + t.tv_usec/1e6;
30 | double dur = finish - start;
31 |
32 | printf("%d uuids/sec", (int)(n/dur));
33 | return 0;
34 | }
35 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/node-uuid/bin/uuid:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var path = require('path');
4 | var uuid = require(path.join(__dirname, '..'));
5 |
6 | var arg = process.argv[2];
7 |
8 | if ('--help' === arg) {
9 | console.log('\n USAGE: uuid [version] [options]\n\n');
10 | console.log(' options:\n');
11 | console.log(' --help Display this message and exit\n');
12 | process.exit(0);
13 | }
14 |
15 | if (null == arg) {
16 | console.log(uuid());
17 | process.exit(0);
18 | }
19 |
20 | if ('v1' !== arg && 'v4' !== arg) {
21 | console.error('Version must be RFC4122 version 1 or version 4, denoted as "v1" or "v4"');
22 | process.exit(1);
23 | }
24 |
25 | console.log(uuid[arg]());
26 | process.exit(0);
27 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/node-uuid/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "node-uuid",
3 | "version": "1.4.7",
4 | "homepage": "https://github.com/broofa/node-uuid",
5 | "authors": [
6 | "Robert Kieffer "
7 | ],
8 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
9 | "main": "uuid.js",
10 | "keywords": [
11 | "uuid",
12 | "gid",
13 | "rfc4122"
14 | ],
15 | "license": "MIT",
16 | "ignore": [
17 | "**/.*",
18 | "node_modules",
19 | "bower_components",
20 | "test",
21 | "tests"
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/node-uuid/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "node-uuid",
3 | "repo": "broofa/node-uuid",
4 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
5 | "version": "1.4.7",
6 | "author": "Robert Kieffer ",
7 | "contributors": [
8 | {
9 | "name": "Christoph Tavan ",
10 | "github": "https://github.com/ctavan"
11 | }
12 | ],
13 | "keywords": [
14 | "uuid",
15 | "guid",
16 | "rfc4122"
17 | ],
18 | "dependencies": {},
19 | "development": {},
20 | "main": "uuid.js",
21 | "scripts": [
22 | "uuid.js"
23 | ],
24 | "license": "MIT"
25 | }
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/node-uuid/test/test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/oauth-sign/README.md:
--------------------------------------------------------------------------------
1 | oauth-sign
2 | ==========
3 |
4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/qs/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": [2, 22],
8 | "consistent-return": [1],
9 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
10 | "indent": [2, 4],
11 | "max-params": [2, 9],
12 | "max-statements": [2, 36],
13 | "no-extra-parens": [1],
14 | "no-continue": [1],
15 | "no-magic-numbers": 0,
16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
17 | "operator-linebreak": 1
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/qs/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md).
2 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var Stringify = require('./stringify');
4 | var Parse = require('./parse');
5 |
6 | module.exports = {
7 | stringify: Stringify,
8 | parse: Parse
9 | };
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | require('./parse');
2 |
3 | require('./stringify');
4 |
5 | require('./utils');
6 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/qs/test/utils.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var utils = require('../lib/utils');
5 |
6 | test('merge()', function (t) {
7 | t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key');
8 | t.end();
9 | });
10 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/stringstream/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 |
10 | pids
11 | logs
12 | results
13 |
14 | node_modules
15 | npm-debug.log
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/stringstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.4
4 | - 0.6
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/node_modules/request/node_modules/tunnel-agent/README.md:
--------------------------------------------------------------------------------
1 | tunnel-agent
2 | ============
3 |
4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/APIAuthorization/CustomAuthLambda/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "customauthorizer",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "CustomAuth.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "Aravind",
10 | "license": "ISC",
11 | "dependencies": {
12 | "request": "^2.75.0"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/APIAuthorization/README.md:
--------------------------------------------------------------------------------
1 | # Overview
2 | Code snippets and templates used by Authorizing REST APIs using API Gateway Custom Authorizers
3 |
4 | Please review these scripts before using them; charges will be incurred for the AWS resources they create.
5 |
--------------------------------------------------------------------------------
/APIAuthorization/SinglePageApp/img/identification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/SinglePageApp/img/identification.png
--------------------------------------------------------------------------------
/APIAuthorization/SinglePageApp/img/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/SinglePageApp/img/loading.gif
--------------------------------------------------------------------------------
/APIAuthorization/SinglePageApp/img/loading_black.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/SinglePageApp/img/loading_black.gif
--------------------------------------------------------------------------------
/APIAuthorization/SinglePageApp/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/APIAuthorization/SinglePageApp/img/logo.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | This repository contains multiple directories, each individually licensed. Please see the LICENSE file in each directory.
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # apn-blog
2 | APN Blog article code and configurations.
3 |
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/cloudendure_demo/playbooks.tar.gz
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/database_provision.yml:
--------------------------------------------------------------------------------
1 | - hosts: database_servers
2 | become: yes
3 | vars_files:
4 | - vars/mysql.yml
5 | roles:
6 | - { role: geerlingguy.mysql }
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/files/aws_cli_config.j2:
--------------------------------------------------------------------------------
1 | [default]
2 | output = {{ aws_output_format }}
3 | region = {{ aws_region }}
4 | aws_access_key_id = {{ aws_access_key_id }}
5 | aws_secret_access_key = {{ aws_secret_access_key }}
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/gogs_provision.yml:
--------------------------------------------------------------------------------
1 | - hosts: gogs_servers
2 | become: yes
3 | vars_files:
4 | - vars/gogs.yml
5 | - vars/mysql.yml
6 | roles:
7 | - { role : gogs }
8 |
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/hosts:
--------------------------------------------------------------------------------
1 | [all:vars]
2 | ansible_user=centos
3 | ansible_ssh_private_key_file=(ssh_key_pair_path)
4 | gogs_db_pass=(database_server_password)
5 |
6 | [database_servers]
7 | (database_server_hostname)
8 |
9 | [gogs_servers]
10 | (gogs_server_hostname)
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/migration_toolbox.yml:
--------------------------------------------------------------------------------
1 | ---
2 | - include: database_provision.yml
3 | - include: gogs_provision.yml
4 | - include: cloudendure_agent_install.yml
5 | - include: aws_cli_ads_agent_install.yml
6 |
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/test.yml:
--------------------------------------------------------------------------------
1 | ---
2 | - hosts: database_servers
3 | vars_files:
4 | - vars/gogs.yml
5 | tasks:
6 | - debug: msg="System Test {{gogs_db_hosts}}"
7 |
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/vars/awscli.yml:
--------------------------------------------------------------------------------
1 | ---
2 | aws_output_format: 'json'
3 | aws_region: 'us-west-2'
4 | aws_access_key_id: (AccessKeyId)
5 | aws_secret_access_key: (SecretAccessKeyId)
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/vars/gogs.yml:
--------------------------------------------------------------------------------
1 | gogs_use_mysql: true
2 | gogs_db_name: gogs
3 | gogs_db_username: (database_server_user)
4 | gogs_db_password: (database_server_password)
5 | gogs_db_host: (database_server_hostname)
6 | gogs_domain_url: (gogs_server_hostname)
7 |
--------------------------------------------------------------------------------
/cloudendure_demo/playbooks/vars/mysql.yml:
--------------------------------------------------------------------------------
1 | mysql_root_password: (database_server_root_password)
2 | mysql_databases:
3 | - name: gogs
4 | encoding: utf8mb4
5 | collation: utf8mb4_general_ci
6 | mysql_users:
7 | - name: (database_server_user)
8 | host: "%"
9 | password: (database_server_password)
10 | priv: "gogs.*:ALL"
11 | mysql_replication_role: master
12 |
--------------------------------------------------------------------------------
/cloudendure_demo/scripts/config.yml:
--------------------------------------------------------------------------------
1 | username : CloudEndureUser
2 | password : CloudEndurePassword
3 | version : /latest/
4 | hosttomigrate : ip-10-10-130-139
5 | stackname : CloudEndureBlogDemo
6 | keypairname : ent312-demo
7 | sqsqueue : ENT312CloudEndureSQSQueue
8 | gogstemplate : https://s3-us-west-2.amazonaws.com/apnblog.awspartner.com/FacilitatingAMigrationToAWSWithCloudEndureByLeveragingAutomation/latest/templates/reinvent-ent312-migrated-gogs.template
9 | gogsdns : ent312.five0.ninja
10 | region : us-west-2
--------------------------------------------------------------------------------
/cloudendure_demo/scripts/dms-lambda.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/cloudendure_demo/scripts/dms-lambda.zip
--------------------------------------------------------------------------------
/cloudendure_demo/scripts/ent312democloudendurelambda.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/cloudendure_demo/scripts/ent312democloudendurelambda.zip
--------------------------------------------------------------------------------
/cloudendure_demo/templates/reinvent-ent312-lambda-dms-replicate.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/cloudendure_demo/templates/reinvent-ent312-lambda-dms-replicate.yml
--------------------------------------------------------------------------------
/orchestrating/README.md:
--------------------------------------------------------------------------------
1 | # Overview
2 | Code snippets and templates used by Orchestrating Workloads blog post
3 |
4 | Please review these scripts before using them; charges will be incurred for the AWS resources they create.
5 |
--------------------------------------------------------------------------------
/terraform_demo/.gitignore:
--------------------------------------------------------------------------------
1 | /terraform.tfvars
2 | /terraform.tfstate
3 | /terraform.tfstate.backup
4 | /.terraform
5 |
--------------------------------------------------------------------------------
/terraform_demo/graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/apn-blog/c267d477b2dad5077b83a47188715295157d445c/terraform_demo/graph.png
--------------------------------------------------------------------------------
/terraform_demo/launch_configurations/userdata.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
5 | # except in compliance with the License. A copy of the License is located at
6 | #
7 | # http://aws.amazon.com/apache2.0/
8 | #
9 | # or in the "license" file accompanying this file. This file is distributed on an "AS IS"
10 | # BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 | # License for the specific language governing permissions and limitations under the License.
12 | yum -y update
13 | yum -y install nginx
14 | service nginx start
15 | chkconfig nginx on
16 |
--------------------------------------------------------------------------------
/terraform_demo/load_balancers/variables.tf:
--------------------------------------------------------------------------------
1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
4 | # except in compliance with the License. A copy of the License is located at
5 | #
6 | # http://aws.amazon.com/apache2.0/
7 | #
8 | # or in the "license" file accompanying this file. This file is distributed on an "AS IS"
9 | # BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 | # License for the specific language governing permissions and limitations under the License.
11 | variable "availability_zones" {
12 | # No spaces allowed between az names!
13 | default = ["us-west-2a","us-west-2b","us-west-2c"]
14 | }
15 |
16 | #
17 | # From other modules
18 | #
19 | variable "public_subnet_id" {}
20 | variable "webapp_http_inbound_sg_id" {}
21 |
--------------------------------------------------------------------------------