Refresh Token Support and package refactor based on best practice docs #18
@ -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"`
|
||||||
}
|
}
|
||||||
@ -12,5 +14,5 @@ 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"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user