View Source Turnkey (TurnkeyEx v0.0.1-alpha2)
Turnkey interactions that are a little higher level than api client
Summary
Functions
Read the attestation used to create the authenticator which is assigned to the turnkey suborg.
takes embedded key from turnkey recovery iframe, and sub organization id looked up by us using user's email.
Functions
@spec fetch_recovered_passkey_attestation(String.t()) :: %Turnkey.APITypes.Authenticator.Attestation{ attestationObject: term(), clientDataJson: term(), credentialId: term(), transports: term() } | nil
Read the attestation used to create the authenticator which is assigned to the turnkey suborg.
@spec initiate_recovery(String.t(), String.t(), String.t()) :: %Turnkey.APITypes.InitUserEmailRecoveryResult{userId: term()}
takes embedded key from turnkey recovery iframe, and sub organization id looked up by us using user's email.
Will trigger an email from turnkey to the user, and the user will copy data from that email back into the recovery iframe.