Refresh Token Support and package refactor based on best practice docs #18

Merged
jtom38 merged 15 commits from features/restructure-go-recommendations into main 2024-04-21 10:30:52 -07:00
1 changed files with 5 additions and 3 deletions
Showing only changes of commit 0383d554b8 - Show all commits

View File

@ -1,5 +1,7 @@
package domain package domain
import "time"
type HelloBodyRequest struct { type HelloBodyRequest struct {
Name string `json:"name" validate:"required"` Name string `json:"name" validate:"required"`
} }
@ -10,7 +12,7 @@ type UpdateScopesRequest struct {
} }
type RefreshTokenRequest struct { type RefreshTokenRequest struct {
Username string `json:"username"` Username string `json:"username"`
RefreshToken string `json:"refreshToken"` RefreshToken string `json:"refreshToken"`
ExpiresAt string `json:"expiresAt"` ExpiresAt time.Time `json:"expiresAt"`
} }