pub type CassAuthenticatorChallengeCallback = Option<unsafe extern "C" fn(auth: *mut CassAuthenticator, data: *mut c_void, token: *const c_char, token_size: usize)>;
Expand description

A callback used when an authentication challenge initiated by the server.

Use cass_authenticator_set_response() to set the response token.

Use cass_authenticator_set_error() if an error occurred during the challenge.

@param[in] auth @param[in] data @param[in] token @param[in] token_size