Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidateTokenUseCase ¶
func NewInvalidateTokenUseCase ¶
func NewInvalidateTokenUseCase( log log.LogRusEntry, tokenService token.TokenService, sendLogout rbt.RabbitPublisher[string], ) InvalidateTokenUseCase
type SignInRequest ¶
type SignInUseCase ¶
type SignInUseCase interface {
SignIn(request *SignInRequest) (*TokenResponse, error)
}
func NewSignInUseCase ¶
func NewSignInUseCase(userService user.UserService, tokenService token.TokenService) SignInUseCase
type SignUpRequest ¶
type SignUpUseCase ¶
type SignUpUseCase interface {
SignUp(request *SignUpRequest) (*TokenResponse, error)
}
func NewSignUpUseCase ¶
func NewSignUpUseCase(userService user.UserService, tokenService token.TokenService) SignUpUseCase
type TokenResponse ¶
type TokenResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.