Class MockDuoOIDCClient_FAIL

  • All Implemented Interfaces:
    DuoOIDCClient, DuoOIDCClientCapabilities

    public class MockDuoOIDCClient_FAIL
    extends Object
    implements DuoOIDCClient
    Mock a Duo client which is not available (unhealthy). Of note, this is used to test failure branches of action classes, but in reality the Duo 2FA endpoint will not return failure to the IdP??!! so these cases may never happen in practice!!??