aboutsummaryrefslogtreecommitdiff
path: root/auth/auth.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 21:33:42 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 21:33:42 +0530
commitd8c1d5fedfac65a79490120195e273b5d5fc75e9 (patch)
tree7b2b4c6042c693cdd4c827ea9989cfc1bd82ca5d /auth/auth.go
parenta0613bfd790b27f313470bddc08371bcbf54968d (diff)
added basic token refreshingv0.0.10
Diffstat (limited to 'auth/auth.go')
-rw-r--r--auth/auth.go4
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
+}