Skip to main content

persist_oauth_account

Function persist_oauth_account 

Source
fn persist_oauth_account(
    mstore: &Arc<Store>,
    identity_store: &Arc<Store>,
    provider: &str,
    name: &str,
    tokens: &Value,
) -> Result<String, String>
Expand description

Persist the OAuth account: token blob → keychain, pointer + non-secret context → DB. Returns the account id.