Skip to main content

identity_account_upsert

Function identity_account_upsert 

Source
pub(crate) async fn identity_account_upsert(
    state: &AppState,
    ctx: &RpcContext,
    req: IdentityAccountUpsertReq,
) -> Result<IdentityAccountUpsertResult, String>
Expand description

identity.account.upsert: store the secret, optionally probe it, record the account and point the agent’s provider link at it.