Authentication.Api is a microservice responsible for accounts, roles and permissions.
This microservice communicates with Users.Api by using REST, for keeping the rule one account - one user. Also, microservice publishes RabbitMQ messages which consumes Notification.Api. For RabbitMq communication uses a standard client from Infrastructure.
This microservice has own database accountsdb
in PostgreSQL.
For mapping sql query results, microservice uses micro orm Dapper.
For migration uses FluentMigrator.
For authentication, this microservice uses standard realisation from Infrastructure.Authentication
For hash passwords, this microservice uses BCrypt.Net. For type mapping, microservice uses Automapper For auto describe API uses Swagger.