├── .browserslistrc ├── .editorconfig ├── .gitignore ├── README.md ├── angular-10-jwt-authentication-flow.png ├── angular-10-jwt-authentication-overview.png ├── angular.json ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── karma.conf.js ├── package.json ├── src ├── app │ ├── _helpers │ │ └── auth.interceptor.ts │ ├── _services │ │ ├── auth.service.spec.ts │ │ ├── auth.service.ts │ │ ├── token-storage.service.spec.ts │ │ ├── token-storage.service.ts │ │ ├── user.service.spec.ts │ │ └── user.service.ts │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── board-admin │ │ ├── board-admin.component.css │ │ ├── board-admin.component.html │ │ ├── board-admin.component.spec.ts │ │ └── board-admin.component.ts │ ├── board-moderator │ │ ├── board-moderator.component.css │ │ ├── board-moderator.component.html │ │ ├── board-moderator.component.spec.ts │ │ └── board-moderator.component.ts │ ├── board-user │ │ ├── board-user.component.css │ │ ├── board-user.component.html │ │ ├── board-user.component.spec.ts │ │ └── board-user.component.ts │ ├── home │ │ ├── home.component.css │ │ ├── home.component.html │ │ ├── home.component.spec.ts │ │ └── home.component.ts │ ├── login │ │ ├── login.component.css │ │ ├── login.component.html │ │ ├── login.component.spec.ts │ │ └── login.component.ts │ ├── profile │ │ ├── profile.component.css │ │ ├── profile.component.html │ │ ├── profile.component.spec.ts │ │ └── profile.component.ts │ └── register │ │ ├── register.component.css │ │ ├── register.component.html │ │ ├── register.component.spec.ts │ │ └── register.component.ts ├── assets │ └── .gitkeep ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts ├── styles.css └── test.ts ├── tsconfig.app.json ├── tsconfig.base.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json /.browserslistrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/.browserslistrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/README.md -------------------------------------------------------------------------------- /angular-10-jwt-authentication-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/angular-10-jwt-authentication-flow.png -------------------------------------------------------------------------------- /angular-10-jwt-authentication-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/angular-10-jwt-authentication-overview.png -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/angular.json -------------------------------------------------------------------------------- /e2e/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/e2e/protractor.conf.js -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/e2e/src/app.e2e-spec.ts -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/e2e/src/app.po.ts -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/e2e/tsconfig.json -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/karma.conf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/package.json -------------------------------------------------------------------------------- /src/app/_helpers/auth.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/_helpers/auth.interceptor.ts -------------------------------------------------------------------------------- /src/app/_services/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/_services/auth.service.spec.ts -------------------------------------------------------------------------------- /src/app/_services/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/_services/auth.service.ts -------------------------------------------------------------------------------- /src/app/_services/token-storage.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/_services/token-storage.service.spec.ts -------------------------------------------------------------------------------- /src/app/_services/token-storage.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/_services/token-storage.service.ts -------------------------------------------------------------------------------- /src/app/_services/user.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/_services/user.service.spec.ts -------------------------------------------------------------------------------- /src/app/_services/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/_services/user.service.ts -------------------------------------------------------------------------------- /src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/app.component.html -------------------------------------------------------------------------------- /src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/board-admin/board-admin.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/board-admin/board-admin.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-admin/board-admin.component.html -------------------------------------------------------------------------------- /src/app/board-admin/board-admin.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-admin/board-admin.component.spec.ts -------------------------------------------------------------------------------- /src/app/board-admin/board-admin.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-admin/board-admin.component.ts -------------------------------------------------------------------------------- /src/app/board-moderator/board-moderator.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/board-moderator/board-moderator.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-moderator/board-moderator.component.html -------------------------------------------------------------------------------- /src/app/board-moderator/board-moderator.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-moderator/board-moderator.component.spec.ts -------------------------------------------------------------------------------- /src/app/board-moderator/board-moderator.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-moderator/board-moderator.component.ts -------------------------------------------------------------------------------- /src/app/board-user/board-user.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/board-user/board-user.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-user/board-user.component.html -------------------------------------------------------------------------------- /src/app/board-user/board-user.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-user/board-user.component.spec.ts -------------------------------------------------------------------------------- /src/app/board-user/board-user.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/board-user/board-user.component.ts -------------------------------------------------------------------------------- /src/app/home/home.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/home/home.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/home/home.component.html -------------------------------------------------------------------------------- /src/app/home/home.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/home/home.component.spec.ts -------------------------------------------------------------------------------- /src/app/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/home/home.component.ts -------------------------------------------------------------------------------- /src/app/login/login.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/login/login.component.css -------------------------------------------------------------------------------- /src/app/login/login.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/login/login.component.html -------------------------------------------------------------------------------- /src/app/login/login.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/login/login.component.spec.ts -------------------------------------------------------------------------------- /src/app/login/login.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/login/login.component.ts -------------------------------------------------------------------------------- /src/app/profile/profile.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/profile/profile.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/profile/profile.component.html -------------------------------------------------------------------------------- /src/app/profile/profile.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/profile/profile.component.spec.ts -------------------------------------------------------------------------------- /src/app/profile/profile.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/profile/profile.component.ts -------------------------------------------------------------------------------- /src/app/register/register.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/register/register.component.css -------------------------------------------------------------------------------- /src/app/register/register.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/register/register.component.html -------------------------------------------------------------------------------- /src/app/register/register.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/register/register.component.spec.ts -------------------------------------------------------------------------------- /src/app/register/register.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/app/register/register.component.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/environments/environment.ts -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/index.html -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/polyfills.ts -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/styles.css -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/src/test.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/tsconfig.base.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/tsconfig.spec.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-10-jwt-authentication/HEAD/tslint.json --------------------------------------------------------------------------------