mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -04:00
* Implemented the framework for Refresh Token. Needs testing. * Implemented Refresh Tokens. Users are issued tokens that last 7 days, just before the 7 days, the UI will request a new token to avoid having to re-authenticate.
8 lines
150 B
C#
8 lines
150 B
C#
namespace API.DTOs.Account;
|
|
|
|
public class TokenRequestDto
|
|
{
|
|
public string Token { get; init; }
|
|
public string RefreshToken { get; init; }
|
|
}
|