public static <T> T getDelegatedClientAuthenticationCandidateProfile(final RequestContext context,
                                                                         final Class<T> clazz) {
        return context.getFlashScope().get("delegatedClientAuthenticationCandidateProfile", clazz);
    }
Gets delegated client authentication candidate profile.

@param <T>     the type parameter
@param context the context
@param clazz   the clazz
@return the delegated client authentication candidate profile
support/cas-server-support-pac4j-core/src/main/java/org/apereo/cas/web/flow/DelegationWebflowUtils.java