Interface TenantIdFinder
public interface TenantIdFinder
Finder of the tenant if from the request.
-
Method Summary
Modifier and TypeMethodDescriptiontenantId
(ProviderRequest providerRequest) Identify a tenant from the request.
-
Method Details
-
tenantId
Identify a tenant from the request.- Parameters:
providerRequest
- request of the security provider with access to headers (seeProviderRequest.env()
), and other information about the request- Returns:
- the identified tenant id, or empty option if tenant id cannot be identified from the request
-