17 lines
389 B
Go
17 lines
389 B
Go
package domain
|
|
|
|
type HelloBodyRequest struct {
|
|
Name string `json:"name" validate:"required"`
|
|
}
|
|
|
|
type UpdateScopesRequest struct {
|
|
Username string `json:"username"`
|
|
Scopes []string `json:"scopes" validate:"required"`
|
|
}
|
|
|
|
type RefreshTokenRequest struct {
|
|
Username string `json:"username"`
|
|
RefreshToken string `json:"refreshToken"`
|
|
//ExpiresAt time.Time `json:"expiresAt"`
|
|
}
|