[][src]Function fxaclient_ffi::fxa_profile

#[no_mangle]pub extern "C" fn fxa_profile(
    handle: u64,
    ignore_cache: u8,
    error: &mut ExternError
) -> ByteBuffer

Fetches the profile associated with a Firefox Account.

The profile might get cached in-memory and the caller might get served a cached version. To bypass this, the ignore_cache parameter can be set to true.

Safety

A destructor [fxa_bytebuffer_free] is provided for releasing the memory for this pointer type.