├── .babelrc ├── .gitignore ├── README.md ├── components ├── login.html ├── login.js └── logout.js ├── directives └── protectedRouterOutlet.js ├── example ├── server │ ├── package.json │ └── server.js └── webapp │ ├── .babelrc │ ├── package.json │ ├── src │ ├── app │ │ ├── app.html │ │ ├── app.js │ │ ├── auth.html │ │ ├── auth.js │ │ ├── components │ │ │ ├── protected.html │ │ │ └── protected.js │ │ ├── main.html │ │ └── main.js │ ├── boot.js │ └── index.html │ └── webpack.config.js ├── package.json ├── services ├── tokenAuth.js ├── tokenAuthOptions.js └── tokenStorage.js └── src ├── README.md ├── components ├── login.html ├── login.js └── logout.js ├── directives └── protectedRouterOutlet.js ├── example ├── server │ ├── package.json │ └── server.js └── webapp │ ├── .babelrc │ ├── package.json │ ├── src │ ├── app │ │ ├── app.html │ │ ├── app.js │ │ ├── components │ │ │ ├── protected.html │ │ │ └── protected.js │ │ ├── main.html │ │ └── main.js │ ├── boot.js │ └── index.html │ └── webpack.config.js ├── package.json └── services ├── tokenAuth.js ├── tokenAuthOptions.js └── tokenStorage.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .tmp/ 3 | npm-debug.log 4 | .idea/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/README.md -------------------------------------------------------------------------------- /components/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/components/login.html -------------------------------------------------------------------------------- /components/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/components/login.js -------------------------------------------------------------------------------- /components/logout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/components/logout.js -------------------------------------------------------------------------------- /directives/protectedRouterOutlet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/directives/protectedRouterOutlet.js -------------------------------------------------------------------------------- /example/server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/server/package.json -------------------------------------------------------------------------------- /example/server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/server/server.js -------------------------------------------------------------------------------- /example/webapp/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/.babelrc -------------------------------------------------------------------------------- /example/webapp/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/package.json -------------------------------------------------------------------------------- /example/webapp/src/app/app.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/app.html -------------------------------------------------------------------------------- /example/webapp/src/app/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/app.js -------------------------------------------------------------------------------- /example/webapp/src/app/auth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/auth.html -------------------------------------------------------------------------------- /example/webapp/src/app/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/auth.js -------------------------------------------------------------------------------- /example/webapp/src/app/components/protected.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/components/protected.html -------------------------------------------------------------------------------- /example/webapp/src/app/components/protected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/components/protected.js -------------------------------------------------------------------------------- /example/webapp/src/app/main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/main.html -------------------------------------------------------------------------------- /example/webapp/src/app/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/app/main.js -------------------------------------------------------------------------------- /example/webapp/src/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/boot.js -------------------------------------------------------------------------------- /example/webapp/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/src/index.html -------------------------------------------------------------------------------- /example/webapp/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/example/webapp/webpack.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/package.json -------------------------------------------------------------------------------- /services/tokenAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/services/tokenAuth.js -------------------------------------------------------------------------------- /services/tokenAuthOptions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/services/tokenAuthOptions.js -------------------------------------------------------------------------------- /services/tokenStorage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/services/tokenStorage.js -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/README.md -------------------------------------------------------------------------------- /src/components/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/components/login.html -------------------------------------------------------------------------------- /src/components/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/components/login.js -------------------------------------------------------------------------------- /src/components/logout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/components/logout.js -------------------------------------------------------------------------------- /src/directives/protectedRouterOutlet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/directives/protectedRouterOutlet.js -------------------------------------------------------------------------------- /src/example/server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/server/package.json -------------------------------------------------------------------------------- /src/example/server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/server/server.js -------------------------------------------------------------------------------- /src/example/webapp/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/.babelrc -------------------------------------------------------------------------------- /src/example/webapp/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/package.json -------------------------------------------------------------------------------- /src/example/webapp/src/app/app.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/app/app.html -------------------------------------------------------------------------------- /src/example/webapp/src/app/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/app/app.js -------------------------------------------------------------------------------- /src/example/webapp/src/app/components/protected.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/app/components/protected.html -------------------------------------------------------------------------------- /src/example/webapp/src/app/components/protected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/app/components/protected.js -------------------------------------------------------------------------------- /src/example/webapp/src/app/main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/app/main.html -------------------------------------------------------------------------------- /src/example/webapp/src/app/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/app/main.js -------------------------------------------------------------------------------- /src/example/webapp/src/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/boot.js -------------------------------------------------------------------------------- /src/example/webapp/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/src/index.html -------------------------------------------------------------------------------- /src/example/webapp/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/example/webapp/webpack.config.js -------------------------------------------------------------------------------- /src/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/package.json -------------------------------------------------------------------------------- /src/services/tokenAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/services/tokenAuth.js -------------------------------------------------------------------------------- /src/services/tokenAuthOptions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/services/tokenAuthOptions.js -------------------------------------------------------------------------------- /src/services/tokenStorage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teonite/angular2-auth/HEAD/src/services/tokenStorage.js --------------------------------------------------------------------------------