FirebaseEmulatorAuthService

Trait FirebaseEmulatorAuthService 

Source
pub trait FirebaseEmulatorAuthService<ApiHttpClientT>
where Self: Send + Sync, ApiHttpClientT: ApiHttpClient + Send + Sync,
{ // 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§

Provided Methods§

Source

fn clear_all_users( &self, ) -> impl Future<Output = Result<(), Report<ApiClientError>>> + Send

Delete all users within emulator

Source

fn get_emulator_configuration( &self, ) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send

Get current emulator configuration

Source

fn patch_emulator_configuration( &self, configuration: EmulatorConfiguration, ) -> impl Future<Output = Result<EmulatorConfiguration, Report<ApiClientError>>> + Send

Update emulator configuration

Source

fn get_oob_codes( &self, ) -> impl Future<Output = Result<Vec<OobCode>, Report<ApiClientError>>> + Send

Fetch all OOB codes within emulator

Source

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.

Implementors§

Source§

impl<ApiHttpClientT> FirebaseEmulatorAuthService<ApiHttpClientT> for FirebaseAuth<ApiHttpClientT>
where ApiHttpClientT: ApiHttpClient + Send + Sync,