auth

package
v0.0.0-...-0c44e78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidToken         = fmt.Errorf("invalid token")
	ErrCustomerNotFound     = fmt.Errorf("customer not found")
	ErrCustomerInactive     = fmt.Errorf("customer inactive")
	ErrTokenExpired         = fmt.Errorf("token expired")
	ErrAuthenticationFailed = fmt.Errorf("authentication failed")
)

Functions

func NewJWTAuthService

func NewJWTAuthService(jwtConfig config.JWTConfig, repo domain.JWTAuthRepository, logger logger.Logger, sf sonyflake.IDGenerator) app.AuthService

NewJWTAuthService returns a new instance of JWTAuthService

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL