Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface { Register(context echo.Context) error Login(context echo.Context) error Refresh(context echo.Context) error }
func NewAuthHandler ¶
type DefaultHttpError ¶
type DefaultHttpError struct {
Message string `json:"message"`
}
type LoginRequest ¶
type LoginResponse ¶
type RefreshRequest ¶
type RefreshRequest struct {
RefreshToken string `json:"refreshToken"`
}
type RefreshResponse ¶
type RefreshResponse struct {
AccessToken string `json:"accessToken"`
}
type RegisterRequest ¶
Click to show internal directories.
Click to hide internal directories.