fix: No token refresh or revocation mechanism~
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
public record LoginResponse(
|
||||
string AccessToken,
|
||||
string RefreshToken,
|
||||
DateTimeOffset ExpiresAt,
|
||||
Guid UserId,
|
||||
string Username,
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
public record LogoutRequest(string RefreshToken);
|
||||
@@ -0,0 +1 @@
|
||||
public record RefreshRequest(string RefreshToken);
|
||||
@@ -0,0 +1,4 @@
|
||||
public record RefreshResponse(
|
||||
string AccessToken,
|
||||
string RefreshToken,
|
||||
DateTimeOffset ExpiresAt);
|
||||
Reference in New Issue
Block a user