Add an introduction page describing OpenIddict's core concepts

This commit is contained in:
Kévin Chalet
2022-01-13 17:59:09 +01:00
parent f324d013e3
commit 00ead688e0
6 changed files with 304 additions and 48 deletions

View File

@@ -157,8 +157,7 @@ If you don't want to start from one of the recommended samples, you'll need to:
await _applicationManager.GetDisplayNameAsync(application),
Destinations.AccessToken, Destinations.IdentityToken);
return SignIn(new ClaimsPrincipal(identity),
OpenIddictServerAspNetCoreDefaults.AuthenticationScheme);
return SignIn(new ClaimsPrincipal(identity), OpenIddictServerAspNetCoreDefaults.AuthenticationScheme);
}
}
```
@@ -180,8 +179,7 @@ If you don't want to start from one of the recommended samples, you'll need to:
var context = scope.ServiceProvider.GetRequiredService<ApplicationDbContext>();
await context.Database.EnsureCreatedAsync();
var manager =
scope.ServiceProvider.GetRequiredService<IOpenIddictApplicationManager>();
var manager = scope.ServiceProvider.GetRequiredService<IOpenIddictApplicationManager>();
if (await manager.FindByClientIdAsync("console") is null)
{