Note This repository is developed using .netstandard2.0, .netstandard2.1, net5.0+
One important reason for developing this repository is to quickly implement the governmental authentication service provided by e-governance agency, named MPass
, available in the Republic of Moldova.
Proceed to the service portal where you can read more about them by clicking here.
The current repository appears as a result of several implementations in projects from scratch, losing a lot of time and desire for a more easy way of implementation in new projects.
This repository is a wrapper for the currently available service. Using a few configuration parameters from the application settings file appsettings.json
, you may implement them very easily into your own application.
Using the wrapper you will no longer be forced to install the application certificate on the current machine/server.
Available configuration settings are:
IdentityProviderCertificatePath
-> Auth service provider certificate path (file with *.cer at the end);ServiceCertificatePath
-> Client/application certificate path (file with *.pfx at the end);ServiceCertificatePassword
-> Client/application certificate password.
Above was represented a few parameters, for more details, and a whole list of parameters and more information about that, follow the info from using doc.
In case you wish to use it in your project, u can install the package from nuget.org or specify what version you want:
Install-Package MPassHelperDotNet -Version x.x.x.x