CDPotion.Domain.FedCm (cdpotion v0.1.0)
Summary
Functions
Parameters:
dialogId:string
: description not provided :(triggerCooldown:boolean
: (Optional) description not provided :(
Parameters:
disableRejectionDelay:boolean
: (Optional) Allows 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)
Resets the cooldown time, if any, to allow the next FedCM call to show a dialog even if one was recently dismissed by the user.
Parameters:
dialogId:string
: description not provided :(accountIndex:integer
: description not provided :(
Functions
Link to this function
disable()
Link to this function
dismiss_dialog(dialog_id, trigger_cooldown \\ nil)
Parameters:
dialogId:string
: description not provided :(triggerCooldown:boolean
: (Optional) description not provided :(
Link to this function
enable(disable_rejection_delay \\ nil)
Parameters:
disableRejectionDelay:boolean
: (Optional) Allows 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)
Link to this function
reset_cooldown()
Resets the cooldown time, if any, to allow the next FedCM call to show a dialog even if one was recently dismissed by the user.
Link to this function
select_account(dialog_id, account_index)
Parameters:
dialogId:string
: description not provided :(accountIndex:integer
: description not provided :(