Function create_auth_adapter

Source
pub fn create_auth_adapter(
    exchange_type: ExchangeType,
    api_key: impl Into<SmartString>,
    secret_key: impl Into<SmartString>,
    passphrase: Option<impl Into<SmartString>>,
) -> Result<Arc<dyn AuthenticationManager>>
Expand description

Create an authentication adapter for the specified exchange type