Skip to content

Commit bb0af11

Browse files
committed
fix readme
1 parent 42760f6 commit bb0af11

1 file changed

Lines changed: 41 additions & 7 deletions

File tree

README.md

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The last thing is to add the following section in the `appsettings.json` to enab
6565
"Enabled": true
6666
},
6767
{
68-
"ProviderName": "EasyAuthWithHeaderService",
68+
"ProviderName": "EasyAuthAzureAdService",
6969
"Enabled": true
7070
}
7171
]
@@ -139,7 +139,7 @@ To configure you providers you simple add the following to your `appsettings.jso
139139
"RoleClaimType": "roles" // optional
140140
},
141141
{
142-
"ProviderName": "EasyAuthWithHeaderService",
142+
"ProviderName": "EasyAuthAzureAdService",
143143
"Enabled": true,
144144
"NameClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", //optional
145145
"RoleClaimType": "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" //optional
@@ -211,10 +211,28 @@ All providers can be configured with the following section in the `appsettings.j
211211
"RoleClaimType": "roles" // optional
212212
},
213213
{
214-
"ProviderName": "EasyAuthWithHeaderService", // type name of the provider
215-
"Enabled": true,
216-
"NameClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", //optional
217-
"RoleClaimType": "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" //optional
214+
"ProviderName": "EasyAuthForAuthorizationTokenService",
215+
"Enabled": true
216+
},
217+
{
218+
"ProviderName": "EasyAuthAzureAdService",
219+
"Enabled": true
220+
},
221+
{
222+
"ProviderName": "EasyAuthMicrosoftService",
223+
"Enabled": true
224+
},
225+
{
226+
"ProviderName": "EasyAuthFacebookService",
227+
"Enabled": true
228+
},
229+
{
230+
"ProviderName": "EasyAuthTwitterService",
231+
"Enabled": true
232+
},
233+
{
234+
"ProviderName": "EasyAuthGoogleService",
235+
"Enabled": true
218236
}
219237
],
220238
// the following is optional
@@ -272,10 +290,26 @@ To create a Service Principal (SPN), which get access to your EasyAuth protected
272290

273291
This will allow a spn to get the role `SystemAdmin` in your protected application. The default `User.Identity.Name` of an SPN is the SPN Guid.
274292

275-
### `EasyAuthWithHeaderService`
293+
### `EasyAuthAzureAdService`
276294

277295
This is the most common auth provider. You can use it to work with Azure Active Directory Users in your easy auth application.
278296

297+
### EasyAuthMicrosoftService
298+
299+
If your users only has personal accounts because your app isn't a bushiness application, use this provider.
300+
301+
### EasyAuthFacebookService
302+
303+
If your users are primary come from facebook use this provider.
304+
305+
### EasyAuthTwitterService
306+
307+
If your users are primary come from twitter use this provider.
308+
309+
### EasyAuthGoogleService
310+
311+
If your users are primary come from twitter use this provider.
312+
279313
## Authors
280314

281315
- **Kirsten Kluge** - _Initial work_ - [kirkone](https://github.com/kirkone)

0 commit comments

Comments
 (0)