mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-04-22 21:00:49 +08:00
Update the documentation pages
This commit is contained in:
parent
f1594fc67c
commit
d74e392a0b
@ -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)
|
||||
{
|
||||
|
@ -9873,7 +9873,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "configuration/claim-destinations.html",
|
||||
"hash": "4xErel33Ient0HRgIObAew=="
|
||||
"hash": "+kZddjMzG7VE3TUwSsEjJg=="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
|
Loading…
Reference in New Issue
Block a user