Class IndirectClientFactory


  • public class IndirectClientFactory
    extends Object
    This factory creates general indirect clients for IAuthenticators with sensible defaults that can be used in various contexts.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Method Detail

      • forDescriptor

        public static org.pac4j.core.client.Client forDescriptor​(IClientDescriptor clientDescriptor)
        Parameters:
        clientDescriptor - describes the client to be created.
        Returns:
        The Pac4j client for authenticating a user via the given authenticator.