├── .editorconfig ├── .gitignore ├── .tool-versions ├── README.md ├── index.d.ts ├── index.js ├── index.ts ├── nest-cli.json ├── package.json ├── src ├── .prettierrc ├── authn │ ├── authn-disallowed.decorator.ts │ ├── authn-optional.decorator.ts │ ├── authn-required.decorator.ts │ ├── authn-skip.decorator.ts │ ├── authn-status.enum.ts │ └── options.ts ├── authz │ ├── decorators.ts │ ├── options.ts │ └── rights-tree.ts ├── helper-types.ts ├── http-authx.interceptor.ts ├── identity.decorator.ts ├── index.ts ├── metadata-keys.ts ├── metadata.ts ├── types.ts └── util.ts ├── tsconfig.json ├── tslint.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules 3 | 4 | ~* 5 | *~ 6 | 7 | yarn-error.log 8 | -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | nodejs 12.6.0 2 | yarn 1.19.1 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/README.md -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './dist'; 2 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/index.js -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- 1 | export * from './dist'; 2 | -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/package.json -------------------------------------------------------------------------------- /src/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/.prettierrc -------------------------------------------------------------------------------- /src/authn/authn-disallowed.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authn/authn-disallowed.decorator.ts -------------------------------------------------------------------------------- /src/authn/authn-optional.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authn/authn-optional.decorator.ts -------------------------------------------------------------------------------- /src/authn/authn-required.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authn/authn-required.decorator.ts -------------------------------------------------------------------------------- /src/authn/authn-skip.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authn/authn-skip.decorator.ts -------------------------------------------------------------------------------- /src/authn/authn-status.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authn/authn-status.enum.ts -------------------------------------------------------------------------------- /src/authn/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authn/options.ts -------------------------------------------------------------------------------- /src/authz/decorators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authz/decorators.ts -------------------------------------------------------------------------------- /src/authz/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authz/options.ts -------------------------------------------------------------------------------- /src/authz/rights-tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/authz/rights-tree.ts -------------------------------------------------------------------------------- /src/helper-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/helper-types.ts -------------------------------------------------------------------------------- /src/http-authx.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/http-authx.interceptor.ts -------------------------------------------------------------------------------- /src/identity.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/identity.decorator.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/metadata-keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/metadata-keys.ts -------------------------------------------------------------------------------- /src/metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/metadata.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/src/util.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eropple/nestjs-auth/HEAD/yarn.lock --------------------------------------------------------------------------------