Update the documentation pages

This commit is contained in:
OpenIddict Bot 2021-02-08 11:02:41 +00:00
parent f1594fc67c
commit d74e392a0b
2 changed files with 3 additions and 2 deletions

View File

@ -92,7 +92,8 @@ In the typical case, granted scopes can be used to determine what claims are all
// but you may want to allow the user to uncheck specific scopes.
// For that, simply restrict the list of scopes before calling SetScopes().
principal.SetScopes(request.GetScopes());
principal.SetResources(await _scopeManager.ListResourcesAsync(principal.GetScopes()).ToListAsync());
principal.SetResources(
await _scopeManager.ListResourcesAsync(principal.GetScopes()).ToListAsync());
foreach (var claim in principal.Claims)
{

View File

@ -9873,7 +9873,7 @@
"output": {
".html": {
"relative_path": "configuration/claim-destinations.html",
"hash": "4xErel33Ient0HRgIObAew=="
"hash": "+kZddjMzG7VE3TUwSsEjJg=="
}
},
"is_incremental": false,