一个 ASP.NET Core (v2.1) Web API 项目,可快速启动新项目。 包括身份验证和 JWT 身份验证 (带刷新令牌)。
一个 ASP.NET Core (v2.1) Web API 项目,可快速启动新项目。 包括身份验证和 JWT 身份验证 (带刷新令牌)。
An ASP.NET Core (v2.1) Web API project to quickly bootstrap new projects. Includes Identity, JWT authentication w/ refresh tokens.
Open the solution file AspNetCoreApiStarter.sln and build/run.
Open the src folder and F5 to build/run.
To explore and test the available APIs simply run the project and use the Swagger UI.
The available APIs include:
/api/accounts - Creates a new user./api/auth/login - Authenticates a user./api/auth/refreshtoken - Refreshes expired access tokens./api/protected - Protected controller for testing role-based authorization.暂无开放 Issues,或尚未同步最近议题。