public static Object getDelegatedAuthenticationProviderPrimary(final RequestContext context) {
        return context.getFlowScope().get(FLOW_SCOPE_ATTR_DELEGATED_AUTHN_PROVIDER_PRIMARY);
    }
Gets delegated authentication provider primary.

@param context the context
@return the delegated authentication provider primary
support/cas-server-support-pac4j-core/src/main/java/org/apereo/cas/web/flow/DelegationWebflowUtils.java