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
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 <ahref="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 <ahref="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.
20
22
21
23
## Build
22
24
@@ -57,7 +59,7 @@ app.UseAuthentication();
57
59
58
60
This will enable the `EasyAuthAuthenticationHandler` in your app.
59
61
60
-
### ...Controller.cs
62
+
### Controller.cs
61
63
62
64
In your controllers you can access the `User` property as usual:
63
65
@@ -107,7 +109,7 @@ To configure you providers you simple add the following to your appsettings.json
107
109
108
110
Here are some notes to the JSON above:
109
111
110
-
- each provider is disabled in default so you must enabled it
112
+
- each provider is disabled by default so you must enabled it
111
113
- 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.)
112
114
- The `ProviderName` is the class name of the provider. that must be unique in your application.
113
115
@@ -153,7 +155,7 @@ For example:
153
155
154
156
> **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.
155
157
156
-
> **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.
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.
0 commit comments