SDK reference · Node SDK
prov.mandate.intents.biometricChallenge
prov.mandate.intents.biometricChallenge in Node SDK. Get a single-use challenge to answer with a platform authenticator.
Signature
prov.mandate.intents.biometricChallenge(): Promise<BiometricChallenge>Parameters
No parameters.
Request fields
Idempotency-Keystringheader- Retry a create safely: the same key + request returns the stored response (24 h, per caller).
Returns
Promise<BiometricChallenge> A single-use passkey challenge and when it expires.
HTTP operation
POST /v1/mandate/biometric_challenges: Create a biometric challenge
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/biometric_challenges`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/mandate/biometric_challenges", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()