diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-04 21:33:42 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-04 21:33:42 +0530 | 
| commit | d8c1d5fedfac65a79490120195e273b5d5fc75e9 (patch) | |
| tree | 7b2b4c6042c693cdd4c827ea9989cfc1bd82ca5d /auth/auth.go | |
| parent | a0613bfd790b27f313470bddc08371bcbf54968d (diff) | |
added basic token refreshing
Diffstat (limited to 'auth/auth.go')
| -rw-r--r-- | auth/auth.go | 4 | 
1 files changed, 4 insertions, 0 deletions
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 +}  |