Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminUseCase ¶
type JWTUseCase ¶
type JWTUseCase interface { GenerateRefreshToken(id int, email string, role string) (string, error) GenerateAccessToken(userid int, username string, role string) (string, error) ParseToken(signedToken string) (*jwt.Token, *domain.JWTError) VerifyToken(signedToken string) (bool, *domain.SignedDetails, error) }
Click to show internal directories.
Click to hide internal directories.