Skip to content

Commit

Permalink
rename configuration delegate name
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdgun committed Aug 6, 2023
1 parent c1ad4a1 commit af1be08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ serviceCollection.AddOpenIddict().AddCore(options =>
{
options.UseEntityFrameworkCore()
.UseDbContext<ApplicationDbContext>()
.AddApi<OpenIdApplication, OpenIdAuthorization, OpenIdScope, OpenIdToken, long>(apiOptions =>
.AddApi<OpenIdApplication, OpenIdAuthorization, OpenIdScope, OpenIdToken, long>(apiConfiguration =>
{
apiOptions.ApiRoutePrefix = "open-id-api";
apiOptions.ApplicationApiRoute = "application";
apiOptions.ApplicationApiAccessScope = "my_application_access_scope";
apiConfiguration.ApiRoutePrefix = "open-id-api";
apiConfiguration.ApplicationApiRoute = "application";
apiConfiguration.ApplicationApiAccessScope = "my_application_access_scope";
});
});
```
Expand Down

0 comments on commit af1be08

Please sign in to comment.