← Back to FedCm domain

FedCm.enable

No description available.

Domain: FedCm experimental

Parameters

NameTypeDescription
disableRejectionDelay (optional)booleanAllows callers to disable the promise rejection delay that would normally happen, if this is unimportant to what's being tested. (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)

Example Request

{
  "id": 1,
  "method": "FedCm.enable"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('FedCm.enable');
console.log(result);