Community.OpenIddict.AmazonDynamoDB
2.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Community.OpenIddict.AmazonDynamoDB --version 2.0.2
NuGet\Install-Package Community.OpenIddict.AmazonDynamoDB -Version 2.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Community.OpenIddict.AmazonDynamoDB" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Community.OpenIddict.AmazonDynamoDB --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Community.OpenIddict.AmazonDynamoDB, 2.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Community.OpenIddict.AmazonDynamoDB as a Cake Addin #addin nuget:?package=Community.OpenIddict.AmazonDynamoDB&version=2.0.2 // Install Community.OpenIddict.AmazonDynamoDB as a Cake Tool #tool nuget:?package=Community.OpenIddict.AmazonDynamoDB&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OpenIddict.AmazonDynamoDB
A DynamoDB integration for OpenIddict.
Getting Started
You can install the latest version via Nuget:
> dotnet add package Community.OpenIddict.AmazonDynamoDB
Then you use the stores by calling AddDynamoDbStores
on OpenIddictBuilder
:
services
.AddOpenIddict()
.AddCore()
.UseDynamoDb()
.Configure(options =>
{
options.BillingMode = BillingMode.PROVISIONED; // Default is BillingMode.PAY_PER_REQUEST
options.ProvisionedThroughput = new ProvisionedThroughput
{
ReadCapacityUnits = 5, // Default is 1
WriteCapacityUnits = 5, // Default is 1
};
options.UsersTableName = "CustomOpenIddictTable"; // Default is openiddict
});
Finally you need to ensure that tables and indexes has been added:
OpenIddictDynamoDbSetup.EnsureInitialized(serviceProvider);
Or asynchronously:
await OpenIddictDynamoDbSetup.EnsureInitializedAsync(serviceProvider);
Tests
In order to run the tests, you need to have DynamoDB running locally on localhost:8000
. This can easily be done using Docker and the following command:
docker run -p 8000:8000 amazon/dynamodb-local
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- AWSSDK.DynamoDBv2 (>= 3.7.203.11)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- OpenIddict.Abstractions (>= 4.9.0)
- OpenIddict.Core (>= 4.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2.1 | 572 | 7/8/2024 |
2.2.0 | 291 | 3/23/2024 |
2.1.0 | 165 | 1/21/2024 |
2.0.2 | 490 | 11/10/2023 |
2.0.1 | 135 | 10/29/2023 |
2.0.0 | 128 | 10/29/2023 |
1.0.3 | 131 | 10/28/2023 |
1.0.2 | 695 | 5/15/2023 |
1.0.1 | 576 | 1/28/2023 |
1.0.0 | 397 | 1/9/2023 |
0.1.4 | 444 | 10/16/2022 |
0.1.3 | 399 | 10/5/2022 |
0.1.2 | 388 | 10/5/2022 |
0.1.1 | 371 | 10/2/2022 |
0.1.0 | 400 | 10/2/2022 |