[][src]Function fxaclient_ffi::fxa_authorize_auth_code

#[no_mangle]pub unsafe extern "C" fn fxa_authorize_auth_code(
    handle: u64,
    auth_params: *const u8,
    auth_params_len: i32,
    error: &mut ExternError
) -> *mut c_char

Try to get an OAuth code using a session token.

The system will use the stored session_token to provision a new code and return it.

Safety

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