https://github.com/phjb/aspnetcore-identity-jwt
Projeto para futuras consultas, utilizando Identity e JWT
https://github.com/phjb/aspnetcore-identity-jwt
Last synced: 11 months ago
JSON representation
Projeto para futuras consultas, utilizando Identity e JWT
- Host: GitHub
- URL: https://github.com/phjb/aspnetcore-identity-jwt
- Owner: phjb
- Created: 2021-06-08T00:00:24.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-10T20:16:00.000Z (about 5 years ago)
- Last Synced: 2025-07-01T05:42:21.539Z (12 months ago)
- Language: C#
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autorização com Asp.Net Core Identity e Autenticação com JWT
Projeto para futuras consultas, utilizando **Identity** e **JWT**.
### Pacotes
* ***Microsoft.AspNetCore.Identity.EntityFrameworkCore***
```sh
dotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore --version 5.0.6
```
* ***Microsoft.EntityFrameworkCore***
```sh
dotnet add package Microsoft.EntityFrameworkCore --version 5.0.6
```
* ***Microsoft.EntityFrameworkCore.Sqlite***
```sh
dotnet add package Microsoft.EntityFrameworkCore.Sqlite --version 5.0.6
```
* ***Microsoft.EntityFrameworkCore.Design***
```sh
dotnet add package Microsoft.EntityFrameworkCore.Design --version 5.0.6
```
* ***Microsoft.EntityFrameworkCore.Tools***
```sh
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 5.0.6
```
---
### Pacotes - Jwt
* ***Microsoft.AspNetCore.Authentication***
```sh
dotnet add package Microsoft.AspNetCore.Authentication
```
* ***Microsoft.AspNetCore.Authentication.JwtBearer***
```sh
dotnet add package Microsoft.AspNetCore.Authentication.JwtBearer --version 5.0.6
```
# Referências
* Microsoft Docs - [Introdução ao Identity no ASP.NET Core](https://docs.microsoft.com/pt-br/aspnet/core/security/authentication/identity?view=aspnetcore-5.0&tabs=netcore-cli)
* Edson ebl4 - [HospedagemAPI-JWT-Identity](https://github.com/ebl4/HospedagemAPI-JWT-Identity)
* Sarathlal Saseendran - [Authentication And Authorization In ASP.NET 5 With JWT And Swagger](https://www.c-sharpcorner.com/article/authentication-and-authorization-in-asp-net-5-with-jwt-and-swagger/)