Interface TenantIdFinder
-
public interface TenantIdFinder
Finder of the tenant if from the request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
tenantId(ProviderRequest providerRequest)
Identify a tenant from the request.
-
-
-
Method Detail
-
tenantId
Optional<String> tenantId(ProviderRequest providerRequest)
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
-
-