├── .gitattributes ├── .github ├── dependabot.yml ├── stale.yml └── workflows │ └── ci.yml ├── .gitignore ├── .npmrc ├── LICENSE ├── Readme.md ├── eslint.config.js ├── examples └── example.js ├── index.js ├── lib ├── authenticate.js ├── compare.js ├── errors.js └── verify-bearer-auth-factory.js ├── package.json ├── test ├── decorate-with-logger.test.js ├── decorate.test.js ├── hooks.test.js ├── integration.test.js ├── spec-compliance-invalid.test.js ├── spec-compliance-rfc-6749.test.js ├── spec-compliance-rfc-6750.test.js └── verify-bearer-auth-factory.test.js └── types ├── index.d.ts └── index.test-d.ts /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | ignore-scripts=true 2 | package-lock=false 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/LICENSE -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/Readme.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/eslint.config.js -------------------------------------------------------------------------------- /examples/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/examples/example.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/index.js -------------------------------------------------------------------------------- /lib/authenticate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/lib/authenticate.js -------------------------------------------------------------------------------- /lib/compare.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/lib/compare.js -------------------------------------------------------------------------------- /lib/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/lib/errors.js -------------------------------------------------------------------------------- /lib/verify-bearer-auth-factory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/lib/verify-bearer-auth-factory.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/package.json -------------------------------------------------------------------------------- /test/decorate-with-logger.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/decorate-with-logger.test.js -------------------------------------------------------------------------------- /test/decorate.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/decorate.test.js -------------------------------------------------------------------------------- /test/hooks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/hooks.test.js -------------------------------------------------------------------------------- /test/integration.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/integration.test.js -------------------------------------------------------------------------------- /test/spec-compliance-invalid.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/spec-compliance-invalid.test.js -------------------------------------------------------------------------------- /test/spec-compliance-rfc-6749.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/spec-compliance-rfc-6749.test.js -------------------------------------------------------------------------------- /test/spec-compliance-rfc-6750.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/spec-compliance-rfc-6750.test.js -------------------------------------------------------------------------------- /test/verify-bearer-auth-factory.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/test/verify-bearer-auth-factory.test.js -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/index.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-bearer-auth/HEAD/types/index.test-d.ts --------------------------------------------------------------------------------