mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-07-16 16:50:46 +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.
|
// but you may want to allow the user to uncheck specific scopes.
|
||||||
// For that, simply restrict the list of scopes before calling SetScopes().
|
// For that, simply restrict the list of scopes before calling SetScopes().
|
||||||
principal.SetScopes(request.GetScopes());
|
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)
|
foreach (var claim in principal.Claims)
|
||||||
{
|
{
|
||||||
|
@ -9873,7 +9873,7 @@
|
|||||||
"output": {
|
"output": {
|
||||||
".html": {
|
".html": {
|
||||||
"relative_path": "configuration/claim-destinations.html",
|
"relative_path": "configuration/claim-destinations.html",
|
||||||
"hash": "4xErel33Ient0HRgIObAew=="
|
"hash": "+kZddjMzG7VE3TUwSsEjJg=="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"is_incremental": false,
|
"is_incremental": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user