Type Definition cassandra_cpp_sys::CassAuthenticatorChallengeCallback [] [src]

type CassAuthenticatorChallengeCallback = Option<unsafe extern "C" fn(_: *mut CassAuthenticator, _: *mut c_void, _: *const c_char, _: usize)>;

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 occured during the challenge.

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