The Quarkus project moves to apps/backend and the Express sources go. The image is built from the repo root as before, with Temurin 25, and runs as a non-root user on port 6000. Compose passes the database as a JDBC URL with the same MANCALA_DB_PASSWORD.
9 lines
257 B
Java
9 lines
257 B
Java
package app.playmancala.auth;
|
|
|
|
import app.playmancala.model.AuthUser;
|
|
|
|
public interface TokenVerifier {
|
|
// The token's user. May block (fetching signing keys); call it off the game loop.
|
|
AuthUser verify(String token) throws InvalidTokenException;
|
|
}
|