├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc ├── LICENSE.md ├── README.md ├── adonis-typings └── index.ts ├── config.json ├── instructions.ts ├── japaFile.js ├── lib ├── Exceptions │ └── JwtAuthenticationException.ts ├── Guards │ └── JwtGuard.ts ├── ProviderToken │ └── JwtProviderToken.ts └── TokenProviders │ ├── AbstractDatabaseProvider.ts │ ├── AbstractRedisProvider.ts │ ├── JwtDatabaseProvider.ts │ ├── JwtRedisProvider.ts │ ├── RefreshTokenDatabaseProvider.ts │ └── RefreshTokenRedisProvider.ts ├── package.json ├── providers └── JwtProvider.ts ├── templates └── migrations │ ├── jwt_refresh_tokens.txt │ └── jwt_tokens.txt ├── test-helpers ├── index.ts └── model.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | message="chore(release): %s" 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/README.md -------------------------------------------------------------------------------- /adonis-typings/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/adonis-typings/index.ts -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/config.json -------------------------------------------------------------------------------- /instructions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/instructions.ts -------------------------------------------------------------------------------- /japaFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/japaFile.js -------------------------------------------------------------------------------- /lib/Exceptions/JwtAuthenticationException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/Exceptions/JwtAuthenticationException.ts -------------------------------------------------------------------------------- /lib/Guards/JwtGuard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/Guards/JwtGuard.ts -------------------------------------------------------------------------------- /lib/ProviderToken/JwtProviderToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/ProviderToken/JwtProviderToken.ts -------------------------------------------------------------------------------- /lib/TokenProviders/AbstractDatabaseProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/TokenProviders/AbstractDatabaseProvider.ts -------------------------------------------------------------------------------- /lib/TokenProviders/AbstractRedisProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/TokenProviders/AbstractRedisProvider.ts -------------------------------------------------------------------------------- /lib/TokenProviders/JwtDatabaseProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/TokenProviders/JwtDatabaseProvider.ts -------------------------------------------------------------------------------- /lib/TokenProviders/JwtRedisProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/TokenProviders/JwtRedisProvider.ts -------------------------------------------------------------------------------- /lib/TokenProviders/RefreshTokenDatabaseProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/TokenProviders/RefreshTokenDatabaseProvider.ts -------------------------------------------------------------------------------- /lib/TokenProviders/RefreshTokenRedisProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/lib/TokenProviders/RefreshTokenRedisProvider.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/package.json -------------------------------------------------------------------------------- /providers/JwtProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/providers/JwtProvider.ts -------------------------------------------------------------------------------- /templates/migrations/jwt_refresh_tokens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/templates/migrations/jwt_refresh_tokens.txt -------------------------------------------------------------------------------- /templates/migrations/jwt_tokens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/templates/migrations/jwt_tokens.txt -------------------------------------------------------------------------------- /test-helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/test-helpers/index.ts -------------------------------------------------------------------------------- /test-helpers/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/test-helpers/model.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxgalbu/adonis5-jwt/HEAD/tsconfig.json --------------------------------------------------------------------------------