You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-8Lines changed: 26 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,41 @@ More information about the Web eID project is available on the project [website]
8
8
9
9
# Quickstart
10
10
11
-
Complete the steps below to add support for secure authentication with eID cards to your ASP.NET Core web application back end. Instructions for the front end are available [here](https://github.com/web-eid/web-eid.js).
11
+
Complete the steps below to add support for secure authentication with eID cards to your ASP.NET Core web application backend. Instructions for the frontend are available [here](https://github.com/web-eid/web-eid.js).
12
12
13
13
See full example [here](https://github.com/web-eid/web-eid-asp-dotnet-example).
14
14
15
15
## 1. Add the library to your project
16
16
17
-
To install the package, you can use the Package Manager Console.
17
+
### When using Visual Studio
18
18
19
-
1. Select the **Tools** > **NuGet Package Manager** > **Package Manager Console** menu command.
20
-
2. Once the console opens, check that the **Default project** drop-down list shows the project into which you want to install the package. If you have a single project in the solution, it is already selected.
21
-
3. Enter the following commands:
19
+
1. Configure Web eID GitLab package repository as a NuGet package source.
20
+
In MS Visual Studio, go to the **Tools** > **NuGet Package Manager** > **Package Manager Settings** menu command. Select **Package Sources** and add a new source. Name it _Web eID GitLab_ and set the _Source_ URL to `https://gitlab.com/api/v4/projects/35362906/packages/nuget/index.json`.
21
+
22
+
2. Install the `WebEid.Security` NuGet package.
23
+
You can install the package either from the GUI or the Package Manager Console.
24
+
25
+
- From GUI:
26
+
Right-click the project in the Solution Explorer where you want to install the Web eID dependency. Select **Manage NuGet Packages**. Choose the _Web eID GitLab_ package source you added earlier from the _Package source_ dropdown. Then, install the `WebEid.Security` package.
**Note:** When you install a package, NuGet records the dependency in either your project file or a `packages.config` file, depending on the selected package management format (`Packages.config` or `PackageReference`).
44
+
45
+
For more detailed information on different methods of installing NuGet packages, refer to [Microsoft's official documentation](https://learn.microsoft.com/en-us/nuget/consume-packages/overview-and-workflow#ways-to-install-a-nuget-package).
28
46
29
47
## 2. Configure the challenge nonce store
30
48
@@ -306,7 +324,7 @@ The authentication token validation process consists of two stages:
306
324
- First, **user certificate validation**: the validator parses the token and extracts the user certificate from the *unverifiedCertificate* field. Then it checks the certificateexpiration, purposeandpolicies. NextitchecksthatthecertificateissignedbyatrustedCAandchecksthecertificatestatuswithOCSP.
0 commit comments