=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
/// <summary>
|
||||
/// Represents the response data returned from a login operation.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=ac3742e -->
|
||||
public class LoginResponse
|
||||
{
|
||||
public string Token { get; set; } = "";
|
||||
@@ -14,6 +15,7 @@ public class LoginResponse
|
||||
/// Returns <c>true</c> when the expiration date has passed, or when no expiration date has been set (i.e., <see cref="DateTime.MinValue"/>), treating unset expirations as expired.
|
||||
/// </summary>
|
||||
/// <returns><c>true</c> if the item is expired or has no expiration date set; otherwise, <c>false</c>.</returns>
|
||||
/// <!-- aidoc:v1 sig=f667915 body=3966309 -->
|
||||
public bool IsExpired()
|
||||
{
|
||||
if (Expiration != DateTime.MinValue)
|
||||
|
||||
Reference in New Issue
Block a user