Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlphaClaims ¶
type JWTManager ¶
type JWTManager interface { Generate(username string) (*dto.TokenPairResponse, error) Verify(token string) (string, error) Refresh(refreshToken string) (*schema.TokenPairResponse, error) }
func NewJWTManager ¶
func NewJWTManager(logger *zap.SugaredLogger) JWTManager
Click to show internal directories.
Click to hide internal directories.