pub struct App<C> { /* private fields */ }Expand description
Base privileged manager for Firebase
Implementations§
Source§impl App<EmulatorCredentials>
impl App<EmulatorCredentials>
Sourcepub fn auth(&self, emulator_url: String) -> FirebaseAuth<ReqwestApiClient>
pub fn auth(&self, emulator_url: String) -> FirebaseAuth<ReqwestApiClient>
Firebase authentication manager for emulator
Sourcepub fn id_token_verifier(&self) -> impl TokenValidator
pub fn id_token_verifier(&self) -> impl TokenValidator
OIDC token verifier for emulator
Source§impl App<AccessTokenCredentials>
impl App<AccessTokenCredentials>
Sourcepub async fn live() -> Result<Self, Report<GCPCredentialsError>>
pub async fn live() -> Result<Self, Report<GCPCredentialsError>>
Create instance of Firebase app for live project
Sourcepub fn auth(&self) -> FirebaseAuth<ReqwestApiClient>
pub fn auth(&self) -> FirebaseAuth<ReqwestApiClient>
Create Firebase authentication manager
Sourcepub async fn id_token_verifier(
&self,
) -> Result<impl TokenValidator, Report<GCPCredentialsError>>
pub async fn id_token_verifier( &self, ) -> Result<impl TokenValidator, Report<GCPCredentialsError>>
Create OIDC token verifier
Auto Trait Implementations§
impl<C> Freeze for App<C>
impl<C> !RefUnwindSafe for App<C>
impl<C> Send for App<C>where
C: Send,
impl<C> Sync for App<C>where
C: Sync,
impl<C> Unpin for App<C>where
C: Unpin,
impl<C> !UnwindSafe for App<C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more