Package org.keycloak.provider
Interface EnvironmentDependentProviderFactory
- All Known Subinterfaces:
ClientPolicyConditionProviderFactory,ClientPolicyExecutorProviderFactory,ClientTypeManagerFactory,OrganizationProviderFactory
- All Known Implementing Classes:
AbstractClientPolicyConditionProviderFactory,RecoveryCodesWarningThresholdPasswordPolicyProviderFactory
public interface EnvironmentDependentProviderFactory
Providers that are only supported in some environments can implement this interface to be able to determine if they
should be available or not.
- Author:
- Stian Thorgersen
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.
-
Method Details
-
isSupported
Check if the provider is supported and should be available based on the provider configuration.- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-