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: 5-WebApp-AuthZ/5-2-Groups/README-incremental-instructions.md
-69Lines changed: 0 additions & 69 deletions
Original file line number
Diff line number
Diff line change
@@ -305,75 +305,6 @@ The following files have the code that would be of interest to you:
305
305
}
306
306
```
307
307
308
-
**ProcessClaimsForGroupsOverage** method uses `GraphServiceClient` to retrieve groups for the signed-in user from [/me/memberOf](https://docs.microsoft.com/graph/api/user-list-memberof) endpoint. All the group ids are stored in Session.
In the app registration, you might want to add other attributes than id to the `groups` claim; For instance if, the required format is `NetBIOSDomain\sAMAccountName` then replace
GraphHelper.cs contains a method **CheckUsersGroupMembership** that is called in `CustomAuthorization.cs` to check if value of GroupName parameter exists in either Session for Overage scenario or in User claims otherwise.
Copy file name to clipboardExpand all lines: 5-WebApp-AuthZ/5-2-Groups/README.md
-69Lines changed: 0 additions & 69 deletions
Original file line number
Diff line number
Diff line change
@@ -423,75 +423,6 @@ The following files have the code that would be of interest to you:
423
423
}
424
424
```
425
425
426
-
**ProcessClaimsForGroupsOverage** method uses `GraphServiceClient` to retrieve groups for the signed-in user from [/me/memberOf](https://docs.microsoft.com/graph/api/user-list-memberof) endpoint. All the group ids are stored in Session.
In the app registration, you might want to add other attributes than id to the `groups` claim; For instance if, the required format is `NetBIOSDomain\sAMAccountName` then replace
GraphHelper.cs contains a method **CheckUsersGroupMembership** that is called in `CustomAuthorization.cs` to check if value of GroupName parameter exists in either Session for Overage scenario or in User claims otherwise.
0 commit comments