[−][src]Function actix_wamp::challenge_response_auth
pub fn challenge_response_auth<SecretProvider, Err>(
secret_provider: SecretProvider
) -> impl AuthMethod + Sync + Send + 'static where
SecretProvider: FnMut(&str) -> Result<Vec<u8>, Err> + Sync + Send + 'static,
Err: Error + Sync + Send + 'static,
Creates WAMP Challenge-Response authentication proivder from function providing shared secret.