Skip to content

Commit 1fb2b8c

Browse files
authored
Update README.md
1 parent 736c757 commit 1fb2b8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Basic Scheme Authentication Implementation for ASP.NET Core 2.0
33

44
## Installing
5-
This library is published on NuGet. So the NuGet package can be installed directly to your project if you wish to use it with making any custom changes to the code.
5+
This library is published on NuGet. So the NuGet package can be installed directly to your project if you wish to use it without making any custom changes to the code.
66

77
Download directly from [Mihir.AspNetCore.Authentication.Basic](https://www.nuget.org/packages/Mihir.AspNetCore.Authentication.Basic).
88

@@ -16,9 +16,9 @@ PM> Install-Package Mihir.AspNetCore.Authentication.Basic
1616

1717
Setting it up is quite simple. You will need basic working knowledge of ASP.NET Core 2.0 to get started using this code.
1818

19-
On Startup.cs, as shown below, add 2 lines in ConfigureServices method `services.AddAuthentication(BasicDefaults.AuthenticationScheme).AddBasic<BasicUserValidationService>(options => { options.Realm = "My App"; });`. And a line `app.UseAuthentication();` in Configure method.
19+
On [**Startup.cs**](#startupcs), as shown below, add 2 lines in *ConfigureServices* method `services.AddAuthentication(BasicDefaults.AuthenticationScheme).AddBasic<BasicUserValidationService>(options => { options.Realm = "My App"; });`. And a line `app.UseAuthentication();` in *Configure* method.
2020

21-
Also add an implementation of IBasicUserValidationService as shown below in BasicUserValidationService.cs
21+
Also add an implementation of *IBasicUserValidationService* as shown below in [**BasicUserValidationService.cs**](#basicuservalidationservicecs).
2222

2323
#### Startup.cs
2424

0 commit comments

Comments
 (0)