Skip to content

Commit 81a5a85

Browse files
committed
cleanup readme and add new feed information
1 parent 3c57b2e commit 81a5a85

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This helps getting azure appservice authentication working with asp.net core.
44

5-
## Nuget
5+
## NuGet
66

77
The EasyAuth handler is provided as a nuget package and can be found on nuget.org.
88

@@ -16,7 +16,9 @@ You can add the package for example with the following `dotnet` command:
1616
dotnet add package KK.AspNetCore.EasyAuthAuthentication
1717
```
1818

19-
Pre-releases of this Package are pushed to an internal feed an Azure DevOps. There is no public access to this feeds at the moment.
19+
Pre-releases of this Package are pushed to an internal <a href="https://dev.azure.com/kirkone/KK.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=KK.AspNetCore.EasyAuthAuthentication" target="_blank">feed an Azure DevOps</a>.
20+
21+
There are also access to packages from pull requests in another <a href="https://dev.azure.com/kirkone/KK.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=KK.AspNetCore.EasyAuthAuthentication-PR" target="_blank">Azure DevOps feed</a>. All Packages in this feed has a name like this: `PR-{pull request number}-KK.AspNetCore.EasyAuthAuthentication`. So you must only pick the package of your PR to check your changes in a test project. All changes of the pull request are tracked in the pull request package version history.
2022

2123
## Build
2224

@@ -57,7 +59,7 @@ app.UseAuthentication();
5759

5860
This will enable the `EasyAuthAuthenticationHandler` in your app.
5961

60-
### ...Controller.cs
62+
### Controller.cs
6163

6264
In your controllers you can access the `User` property as usual:
6365

@@ -107,7 +109,7 @@ To configure you providers you simple add the following to your appsettings.json
107109

108110
Here are some notes to the JSON above:
109111

110-
- each provider is disabled in default so you must enabled it
112+
- each provider is disabled by default so you must enabled it
111113
- you can create own providers but there must implement `IEasyAuthAuthentificationService`. But you must also activate them here. (Don't put them in the DI. This package will do this by it's own.)
112114
- The `ProviderName` is the class name of the provider. that must be unique in your application.
113115

@@ -153,7 +155,7 @@ For example:
153155
154156
> **Info**: Make sure you added static file handling to your pipeline by adding `app.UseStaticFiles();` to your `public void Configure` method in the `Startup.cs`, e.g. just after `app.UseHttpsRedirection();` entry. Otherwise the static file can not be found at runtime.
155157
156-
> **Info**: Using a wwwroot sub-folder name that starts with `'.'`&nbsp;, like the suggested `.auth` folder name, is useful for content relevant only for localhost debugging as these are treated as hidden folders and are not included in publish output.
158+
> **Info**: Using a wwwroot sub-folder name that starts with `'.'`, like the suggested `.auth` folder name, is useful for content relevant only for localhost debugging as these are treated as hidden folders and are not included in publish output.
157159
158160
## Auth Provider
159161

0 commit comments

Comments
 (0)