|
Last change
on this file since 3347c1b was 3347c1b, checked in by imbrsk <boris696boris@…>, 11 months ago |
|
Implement refresh token functionality with associated services and repositories
|
-
Property mode
set to
100644
|
|
File size:
354 bytes
|
| Line | |
|---|
| 1 | using iknow_api.Models;
|
|---|
| 2 |
|
|---|
| 3 | namespace iknow_api.Models
|
|---|
| 4 | {
|
|---|
| 5 | public class RefreshToken
|
|---|
| 6 | {
|
|---|
| 7 | public int Id { get; set; }
|
|---|
| 8 | public int UserId { get; set; }
|
|---|
| 9 | public User User { get; set; } = null!;
|
|---|
| 10 | public string Token { get; set; }
|
|---|
| 11 | public DateTime ExpiresAt { get; set; }
|
|---|
| 12 | public bool IsValid { get; set; }
|
|---|
| 13 | }
|
|---|
| 14 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.