pub struct IdentityToolkitEndpoints { /* private fields */ }Expand description
Builds Identity Toolkit v1 REST endpoint URLs for a given project.
Implementations§
Source§impl IdentityToolkitEndpoints
impl IdentityToolkitEndpoints
Sourcepub fn emulator(host: &str) -> Self
pub fn emulator(host: &str) -> Self
Endpoints pointed at a local Firebase Auth Emulator instance.
host is the emulator host and port, e.g. localhost:9099.
Sourcepub fn lookup(&self) -> String
pub fn lookup(&self) -> String
accounts:lookup — fetch one or more users by uid, email, or phone number.
Sourcepub fn sign_up(&self) -> String
pub fn sign_up(&self) -> String
accounts:signUp — create a new user (or, unauthenticated, sign one up).
Sourcepub fn update(&self) -> String
pub fn update(&self) -> String
accounts:update — update an existing user, including custom claims.
accounts:createSessionCookie — exchange an ID token for a session cookie.
Auto Trait Implementations§
impl Freeze for IdentityToolkitEndpoints
impl RefUnwindSafe for IdentityToolkitEndpoints
impl Send for IdentityToolkitEndpoints
impl Sync for IdentityToolkitEndpoints
impl Unpin for IdentityToolkitEndpoints
impl UnsafeUnpin for IdentityToolkitEndpoints
impl UnwindSafe for IdentityToolkitEndpoints
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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