Skip to content

This project uses ASP.NET Identity to manage users as well as JWT tokens

License

Notifications You must be signed in to change notification settings

RobertNeat/identity_rest_api

Repository files navigation

Project screenshots

  • the page view:

  • creating the admin account:

It is made through registering the new user in the browser in the "register page" with "@example.com" domain. To use account you have to restart the app

  • creating the user account:

It is mage through registering the new user in the browser in the "register page" (with domain any other than the "@example.com"). To use account you have to restart the app.

  • creating new fox in the list:

To create the new fox you have to be validated by JWT token with admin role

  • loving/hating the fox:

To love/hate the fox you have to be validated by JWT token (any valid token)

  • getting all the foxes list (no token):

Special dependencies:

  • .net 6

  • added packages (*only if the project don't run):

dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design --version 6.0
dotnet add package Microsoft.EntityFrameworkCore.Design --version 6.0
dotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore --version 6.0
dotnet add package Microsoft.AspNetCore.Identity.UI --version 6.0
dotnet add package Microsoft.EntityFrameworkCore.Sqlite --version 6.0
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 6.0
  • the project may use the LiteDB database (it was based on the project that used database and this don't, because the list of foxes is "in memory")

About

This project uses ASP.NET Identity to manage users as well as JWT tokens

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published