public static void putDelegatedAuthenticationProviderPrimary(final RequestContext context, final Serializable client) {
        context.getFlowScope().put(FLOW_SCOPE_ATTR_DELEGATED_AUTHN_PROVIDER_PRIMARY, client);
    }
Put delegated authentication provider dominant.

@param context the context
@param client  the client
support/cas-server-support-pac4j-core/src/main/java/org/apereo/cas/web/flow/DelegationWebflowUtils.java