angular2-authentication-sample

This is a sample that shows how to add authentication to an Angular 2 (ng2) app

  • 所有者: auth0-blog/angular2-authentication-sample
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Angular 2: Authentication sample.

This sample shows how to create an angular 2 app that:

  • Has lots of different routes
  • Performs authentication with JWTs
  • Calls APIs authenticated and not.
  • Extends the RouterOutlet for route pipeline changes.

You can learn more about how it works in the following blogposts

Running it

Clone this repository as well as the server for this example.

First, run the server app in the port 3001.

Then, run npm install on this project and run npm start to start the app. Then just navigate to http://localhost:3000 :boom:
Use npm run server to run API server.

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

Author

Auth0

License

This project is licensed under the MIT license. See the LICENSE file for more info.

主要指标

概览
名称与所有者auth0-blog/angular2-authentication-sample
主编程语言JavaScript
编程语言CSS (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2015-04-28 15:51:03
推送于2017-10-16 19:06:39
最后一次提交2016-10-04 07:24:25
发布数1
最新版本名称0.0.1 (发布于 )
第一版名称0.0.1 (发布于 )
用户参与
星数1k
关注者数117
派生数334
提交数106
已启用问题?
问题数54
打开的问题数26
拉请求数23
打开的拉请求数3
关闭的拉请求数6
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?