add refresh token to cli

This commit is contained in:
Maidul Islam
2023-05-24 18:51:42 -04:00
parent 17647587f9
commit c37ce4eaea
6 changed files with 70 additions and 22 deletions

View File

@@ -5,9 +5,10 @@ import (
)
type UserCredentials struct {
Email string `json:"email"`
PrivateKey string `json:"privateKey"`
JTWToken string `json:"JTWToken"`
Email string `json:"email"`
PrivateKey string `json:"privateKey"`
JTWToken string `json:"JTWToken"`
RefreshToken string `json:"RefreshToken"`
}
// The file struct for Infisical config file