@Override
    default boolean matches(final String identifier) {
        return getMultifactorAuthenticationProviders()
            .stream()
            .anyMatch(p -> p.matches(identifier));
    }
Add multifactor authentication providers.

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