├── .editorconfig ├── .gitignore ├── LICENSE ├── README.md ├── angular.json ├── browserslist ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── karma.conf.js ├── package.json ├── src ├── app │ ├── _helpers │ │ ├── app.initializer.ts │ │ ├── auth.guard.ts │ │ ├── error.interceptor.ts │ │ ├── fake-backend.ts │ │ ├── index.ts │ │ └── jwt.interceptor.ts │ ├── _models │ │ ├── index.ts │ │ └── user.ts │ ├── _services │ │ ├── authentication.service.ts │ │ ├── index.ts │ │ └── user.service.ts │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.ts │ ├── app.module.ts │ ├── home │ │ ├── home.component.html │ │ ├── home.component.ts │ │ └── index.ts │ └── login │ │ ├── index.ts │ │ ├── login.component.html │ │ └── login.component.ts ├── assets │ └── .gitkeep ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts ├── styles.less └── test.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/README.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/angular.json -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/browserslist -------------------------------------------------------------------------------- /e2e/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/e2e/protractor.conf.js -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/e2e/src/app.e2e-spec.ts -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/e2e/src/app.po.ts -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/e2e/tsconfig.json -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/karma.conf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/package.json -------------------------------------------------------------------------------- /src/app/_helpers/app.initializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_helpers/app.initializer.ts -------------------------------------------------------------------------------- /src/app/_helpers/auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_helpers/auth.guard.ts -------------------------------------------------------------------------------- /src/app/_helpers/error.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_helpers/error.interceptor.ts -------------------------------------------------------------------------------- /src/app/_helpers/fake-backend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_helpers/fake-backend.ts -------------------------------------------------------------------------------- /src/app/_helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_helpers/index.ts -------------------------------------------------------------------------------- /src/app/_helpers/jwt.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_helpers/jwt.interceptor.ts -------------------------------------------------------------------------------- /src/app/_models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user'; -------------------------------------------------------------------------------- /src/app/_models/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_models/user.ts -------------------------------------------------------------------------------- /src/app/_services/authentication.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_services/authentication.service.ts -------------------------------------------------------------------------------- /src/app/_services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_services/index.ts -------------------------------------------------------------------------------- /src/app/_services/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/_services/user.service.ts -------------------------------------------------------------------------------- /src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/app.component.html -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/home/home.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/home/home.component.html -------------------------------------------------------------------------------- /src/app/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/home/home.component.ts -------------------------------------------------------------------------------- /src/app/home/index.ts: -------------------------------------------------------------------------------- 1 | export * from './home.component'; -------------------------------------------------------------------------------- /src/app/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.component'; -------------------------------------------------------------------------------- /src/app/login/login.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/login/login.component.html -------------------------------------------------------------------------------- /src/app/login/login.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/app/login/login.component.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/environments/environment.prod.ts -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/environments/environment.ts -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/index.html -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/polyfills.ts -------------------------------------------------------------------------------- /src/styles.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/styles.less -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/src/test.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/tsconfig.spec.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/angular-9-jwt-refresh-tokens/HEAD/tslint.json --------------------------------------------------------------------------------