Add TODO for replacing refresh token format
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# ImgBoard
|
# ImgBoard
|
||||||
|
|
||||||
|
**TODO: move refresh token to be JWT**
|
||||||
|
|
||||||
## Sistemos paskirtis
|
## Sistemos paskirtis
|
||||||
Projekto tikslas - sukurti nuotraukų dalinimosi platformą, kuri leistų naudotojams įkelti, peržiūrėti ir komentuoti nuotraukas.
|
Projekto tikslas - sukurti nuotraukų dalinimosi platformą, kuri leistų naudotojams įkelti, peržiūrėti ir komentuoti nuotraukas.
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ public interface ITokenService
|
|||||||
|
|
||||||
public class TokenService(ImgBoardContext context, IConfiguration config, UserManager<User> userManager): ITokenService
|
public class TokenService(ImgBoardContext context, IConfiguration config, UserManager<User> userManager): ITokenService
|
||||||
{
|
{
|
||||||
|
// TODO: replace refresh with JWT token
|
||||||
|
|
||||||
public async Task<RefreshToken?> GetRefreshTokenByValue(string refreshToken)
|
public async Task<RefreshToken?> GetRefreshTokenByValue(string refreshToken)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user