Advanced Features

FaceLiveness Reverse Proxy

  1. Proxy URL: Set your proxy to communicate with wss://us.rp.secure.iproov.me/ws.

  2. Use the .setLivenessBaseUrl method to configure the FaceLiveness URL. The protocol must be WSS.

  3. Use .setCertificates to define the required Base64 encoded SHA256 hash certificates.

Example

val faceLiveness = CafFaceLiveness.CafBuilder()
    .setStage(CAFStage.PROD)
    .setListener(
        // Create listener
    )
    .setLivenessBaseUrl("wss://my.proxy.io/ws")
    .setCertificates(
        // These certificates are just example place holders.
        listOf(
            "VMti7rJ8aFve2YjdKbNc45VycE9MxSwgzD4OIQXpFmU=",
            "BMu4vLR3pDyi8aZKrJPcVJxu7NgSx0rYqP3TSJhNeLc=",
            "YKr9vGU5bExJ3hVp7TeQWJfs5RcCdM1oFd8lTArS0tE="
        )
    )
    .build()

Authentication Reverse Proxy

  1. Proxy URL: Set your proxy to communicate with the relevant CAFStage URL:

    • PROD: https://api.public.caf.io/

    • BETA: https://api.public.beta.caf.io/

    • DEV: https://api.public.dev.caf.io/

  2. Use .setAuthBaseUrl to specify the URL for authentication.

Example

val sdk = CafFaceLiveness.CafBuilder()
    .setStage(CAFStage.PROD)
    .setListener(
        // Create listener
    )
    .setAuthBaseUrl("https://my.proxy.io/")
    .build()

Last updated

Logo

2023 © Caf. - All rights reserved