Skip to main content

Architecture

Full hexagon under com.splick.auth: api, application, domain, infrastructure.

Controllers validate and map HTTP. Use cases own transactions and business rules. Domain types do not import Spring Data or HTTP clients. Infrastructure implements ports (JDBC, Redis, HTTP).

Use cases​

  • RegisterUserUseCase
  • LoginUserUseCase
  • GoogleSignInUseCase
  • AppleSignInUseCase
  • RefreshTokenUseCase
  • ValidateTokenUseCase
  • CreateAccountDeletionRequestUseCase
  • ApproveTrialRegistrationUseCase
  • LockUserUseCase

Local run: ./gradlew run task for this service from splick-backend (see the service README and Makefile targets such as runAuth). The relay must be running before you expect downstream side effects.