Type Definition wamp_async::AuthenticationChallengeHandler[][src]

type AuthenticationChallengeHandler<'a> = Box<dyn Fn(AuthenticationMethod, WampDict) -> Pin<Box<dyn Future<Output = Result<AuthenticationChallengeResponse, WampError>> + Send + 'a>> + Send + Sync + 'a>;

Authentication Challenge function that should handle a CHALLENGE request during authentication flow. See more details in crate::Client::join_realm_with_authentication