Skip to main content

step2_temp

Function step2_temp 

Source
pub fn step2_temp(
    data: Step1,
    response: ResPq,
    dc_id: i32,
    expires_in: i32,
) -> Result<(ReqDhParams, Step2), Error>
Expand description

Like step2 but requests a temporary auth key (PFS). Uses p_q_inner_data_temp_dc instead of p_q_inner_data_dc. Caller must bind the resulting key via auth.bindTempAuthKey before any RPCs.