Skip to content

Commit 1a88db1

Browse files
author
Vadim Belov
committed
2 parents e22369b + 154a19c commit 1a88db1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Sources/EasyExtensions.EntityFrameworkCore/Database/ExtendedRefreshToken.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,12 @@ public class ExtendedRefreshToken : RefreshToken
6767
/// </summary>
6868
[Column("session_id")]
6969
public string? SessionId { get; set; }
70+
71+
/// <summary>
72+
/// Gets or sets a value indicating when the device can store the refresh token forever without needing to re-authenticate.
73+
/// This can be used to determine if the token should have an extended expiration time or if it should require periodic re-authentication.
74+
/// </summary>
75+
[Column("is_trusted")]
76+
public bool IsTrusted { get; set; }
7077
}
7178
}

0 commit comments

Comments
 (0)