| 3 | import javax.servlet.http.HttpServletRequest; |
| 4 | |
| 5 | public interface DomainResolver { |
| 6 | /** |
| 7 | * Resolves the domain to be used for the current request. |
| 8 | * @param request the current HttpServletRequest |
| 9 | * @return a single domain string (e.g., "tenant.auth0.com") |
| 10 | */ |
| 11 | String resolve(HttpServletRequest request); |
| 12 | } |