pub trait FirebaseEmulatorAuthService<ApiHttpClientT>{
// Required methods
fn get_emulator_client(&self) -> &ApiHttpClientT;
fn get_emulator_auth_uri_builder(&self) -> &ApiUriBuilder;
// Provided methods
fn clear_all_users(
&self,
) -> impl Future<Output = Result<(), Report<ApiClientError>>> + Send { ... }
fn get_emulator_configuration(
&self,
) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send { ... }
fn patch_emulator_configuration(
&self,
configuration: EmulatorConfiguration,
) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send { ... }
fn get_oob_codes(
&self,
) -> impl Future<Output = Result<Vec<OobCode>, Report<ApiClientError>>> + Send { ... }
fn get_sms_verification_codes(
&self,
) -> impl Future<Output = Result<SmsVerificationCodes, Report<ApiClientError>>> + Send { ... }
}Required Methods§
fn get_emulator_client(&self) -> &ApiHttpClientT
fn get_emulator_auth_uri_builder(&self) -> &ApiUriBuilder
Provided Methods§
Sourcefn clear_all_users(
&self,
) -> impl Future<Output = Result<(), Report<ApiClientError>>> + Send
fn clear_all_users( &self, ) -> impl Future<Output = Result<(), Report<ApiClientError>>> + Send
Delete all users within emulator
Sourcefn get_emulator_configuration(
&self,
) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send
fn get_emulator_configuration( &self, ) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send
Get current emulator configuration
Sourcefn patch_emulator_configuration(
&self,
configuration: EmulatorConfiguration,
) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send
fn patch_emulator_configuration( &self, configuration: EmulatorConfiguration, ) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send
Update emulator configuration
Sourcefn get_oob_codes(
&self,
) -> impl Future<Output = Result<Vec<OobCode>, Report<ApiClientError>>> + Send
fn get_oob_codes( &self, ) -> impl Future<Output = Result<Vec<OobCode>, Report<ApiClientError>>> + Send
Fetch all OOB codes within emulator
Sourcefn get_sms_verification_codes(
&self,
) -> impl Future<Output = Result<SmsVerificationCodes, Report<ApiClientError>>> + Send
fn get_sms_verification_codes( &self, ) -> impl Future<Output = Result<SmsVerificationCodes, Report<ApiClientError>>> + Send
Fetch all SMS codes within emulator
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.