Skip to main content

ask_for_code

Function ask_for_code 

Source
async fn ask_for_code(
    attempt: u32,
    session: &EnrollmentSession<'_>,
    context: &dyn SsoEnrollmentContext,
    rest: &RestClient,
    timing: &Timing,
) -> Result<Zeroizing<String>, Stop>
Expand description

Asks for the verification code the enrolled device shows. Polling on makes denying the request there noticed while the user types.