Advanced Features
FaceLiveness Reverse Proxy
Proxy URL: Set your proxy to communicate with
wss://us.rp.secure.iproov.me/ws
.Use the
.setLivenessBaseUrl
method to configure the FaceLiveness URL. The protocol must be WSS.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
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/
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