Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClaims ¶
type AuthClaims struct { jwt.StandardClaims User *models.User `json:"user"` }
type AuthUseCase ¶
type AuthUseCase struct {
// contains filtered or unexported fields
}
func NewAuthUseCase ¶
func NewAuthUseCase( userRepo auth.AuthRepository, hashSalt string, signingKey []byte, tokenTTLSeconds time.Duration, ) *AuthUseCase
func (*AuthUseCase) ParseToken ¶
Click to show internal directories.
Click to hide internal directories.