@Override
    default boolean isAvailable(final RegisteredService service) throws AuthenticationException {
        return getMultifactorAuthenticationProviders()
            .stream()
            .allMatch(p -> p.isAvailable(service));
    }
Add multifactor authentication providers.

@param providers the providers
api/cas-server-core-api-mfa/src/main/java/org/apereo/cas/authentication/ChainingMultifactorAuthenticationProvider.java