From 2d8c696d2fae940d224e4fce6e4d076a3ba31630 Mon Sep 17 00:00:00 2001 From: Akhan Zhakiyanov Date: Tue, 6 Feb 2024 02:35:43 +0800 Subject: [PATCH] fix: warnings --- .../OpenIddictDynamoDbAuthorization.cs | 4 ++-- src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbToken.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbAuthorization.cs b/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbAuthorization.cs index 18f9a32..53d5799 100644 --- a/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbAuthorization.cs +++ b/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbAuthorization.cs @@ -10,7 +10,7 @@ public class OpenIddictDynamoDbAuthorization /// /// Gets or sets the identifier of the application associated with the current authorization. /// - public virtual string ApplicationId { get; set; } + public virtual required string ApplicationId { get; set; } /// /// Gets or sets the concurrency token. @@ -25,7 +25,7 @@ public class OpenIddictDynamoDbAuthorization /// /// Gets or sets the unique identifier associated with the current authorization. /// - public virtual string Id { get; set; } + public virtual required string Id { get; set; } /// /// Gets or sets the additional properties associated with the current authorization. diff --git a/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbToken.cs b/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbToken.cs index 33615da..3ba1f12 100644 --- a/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbToken.cs +++ b/src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbToken.cs @@ -8,12 +8,12 @@ public class OpenIddictDynamoDbToken /// /// Gets or sets the identifier of the application associated with the current token. /// - public virtual string ApplicationId { get; set; } + public virtual required string ApplicationId { get; set; } /// /// Gets or sets the identifier of the authorization associated with the current token. /// - public virtual string AuthorizationId { get; set; } + public virtual required string AuthorizationId { get; set; } /// /// Gets or sets the concurrency token. @@ -33,7 +33,7 @@ public class OpenIddictDynamoDbToken /// /// Gets or sets the unique identifier associated with the current token. /// - public virtual string Id { get; set; } + public virtual required string Id { get; set; } /// /// Gets or sets the payload of the current token, if applicable.