Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthUsecase ¶
type AuthUsecase struct {
// contains filtered or unexported fields
}
func NewAuthUsecase ¶
func NewAuthUsecase(repo domain.IAuthRepository, svc domain.IAuthService) *AuthUsecase
func (*AuthUsecase) Login ¶
func (ucase *AuthUsecase) Login(username string, password string) (string, error)
func (*AuthUsecase) RefreshToken ¶
func (ucase *AuthUsecase) RefreshToken(token string) (string, error)
func (*AuthUsecase) VerifyToken ¶
func (ucase *AuthUsecase) VerifyToken(tokenString string) (*domain.CustomClaims, error)
Click to show internal directories.
Click to hide internal directories.