Skip to content

Commit 26c780d

Browse files
author
Vadim Belov
committed
Add SessionId property to ExtendedRefreshToken entity
Added a nullable string property SessionId to ExtendedRefreshToken, mapped to the "session_id" column. This allows storing a unique session identifier associated with each refresh token.
1 parent da867cf commit 26c780d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Sources/EasyExtensions.EntityFrameworkCore/Database/ExtendedRefreshToken.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,11 @@ public class ExtendedRefreshToken : RefreshToken
5858
/// </summary>
5959
[Column("device")]
6060
public string? Device { get; set; }
61+
62+
/// <summary>
63+
/// Gets or sets the unique identifier for the session associated with this entity.
64+
/// </summary>
65+
[Column("session_id")]
66+
public string? SessionId { get; set; }
6167
}
6268
}

0 commit comments

Comments
 (0)