Skip to content

Commit

Permalink
fix: warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ahanoff committed Feb 5, 2024
1 parent 094dfd0 commit 2d8c696
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class OpenIddictDynamoDbAuthorization
/// <summary>
/// Gets or sets the identifier of the application associated with the current authorization.
/// </summary>
public virtual string ApplicationId { get; set; }
public virtual required string ApplicationId { get; set; }

/// <summary>
/// Gets or sets the concurrency token.
Expand All @@ -25,7 +25,7 @@ public class OpenIddictDynamoDbAuthorization
/// <summary>
/// Gets or sets the unique identifier associated with the current authorization.
/// </summary>
public virtual string Id { get; set; }
public virtual required string Id { get; set; }

/// <summary>
/// Gets or sets the additional properties associated with the current authorization.
Expand Down
6 changes: 3 additions & 3 deletions src/OpenIddict.DynamoDb.Models/OpenIddictDynamoDbToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ public class OpenIddictDynamoDbToken
/// <summary>
/// Gets or sets the identifier of the application associated with the current token.
/// </summary>
public virtual string ApplicationId { get; set; }
public virtual required string ApplicationId { get; set; }

/// <summary>
/// Gets or sets the identifier of the authorization associated with the current token.
/// </summary>
public virtual string AuthorizationId { get; set; }
public virtual required string AuthorizationId { get; set; }

/// <summary>
/// Gets or sets the concurrency token.
Expand All @@ -33,7 +33,7 @@ public class OpenIddictDynamoDbToken
/// <summary>
/// Gets or sets the unique identifier associated with the current token.
/// </summary>
public virtual string Id { get; set; }
public virtual required string Id { get; set; }

/// <summary>
/// Gets or sets the payload of the current token, if applicable.
Expand Down

0 comments on commit 2d8c696

Please sign in to comment.