From d8c1d5fedfac65a79490120195e273b5d5fc75e9 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 4 Oct 2023 21:33:42 +0530 Subject: added basic token refreshing --- auth/auth.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'auth/auth.go') diff --git a/auth/auth.go b/auth/auth.go index ae2db9b..7116a2c 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -31,3 +31,7 @@ type LoginReq struct { Method string Password string } + +type RefreshReq struct { + RefreshToken string +} -- cgit v1.2.3