Update the documentation pages

This commit is contained in:
OpenIddict Bot 2021-01-13 05:12:48 +00:00
parent 803d89de1f
commit 9668fb3acd
2 changed files with 4 additions and 6 deletions

View File

@ -213,11 +213,9 @@ Here&#39;s an example for the client credentials grant:</p>
// Note: the client credentials are automatically validated by OpenIddict: // Note: the client credentials are automatically validated by OpenIddict:
// if client_id or client_secret are invalid, this action won&#39;t be invoked. // if client_id or client_secret are invalid, this action won&#39;t be invoked.
var application = await _applicationManager.FindByClientIdAsync(request.ClientId); var application =
if (application is null) await _applicationManager.FindByClientIdAsync(request.ClientId) ??
{ throw new InvalidOperationException(&quot;The application cannot be found.&quot;);
throw new InvalidOperationException(&quot;The application details cannot be found.&quot;);
}
// Create a new ClaimsIdentity containing the claims that // Create a new ClaimsIdentity containing the claims that
// will be used to create an id_token, a token or a code. // will be used to create an id_token, a token or a code.

View File

@ -45,7 +45,7 @@
"output": { "output": {
".html": { ".html": {
"relative_path": "guide/getting-started.html", "relative_path": "guide/getting-started.html",
"hash": "lkMk8zUcxDGnyHX220VRdQ==" "hash": "+jOyF8NSMA1jX6YFLsLZ2g=="
} }
}, },
"is_incremental": false, "is_incremental": false,