pub struct OAuthSession<R: Runtime>(/* private fields */);Expand description
Access to the OAuth session APIs.
Implementations§
Source§impl<R: Runtime> OAuthSession<R>
impl<R: Runtime> OAuthSession<R>
Sourcepub async fn authenticate(
&self,
options: AuthenticateOptions,
) -> Result<AuthenticateResponse>
pub async fn authenticate( &self, options: AuthenticateOptions, ) -> Result<AuthenticateResponse>
Open the platform-native authentication browser and resolve with the redirect URL once the system intercepts the callback scheme.
Auto Trait Implementations§
impl<R> Freeze for OAuthSession<R>
impl<R> RefUnwindSafe for OAuthSession<R>
impl<R> Send for OAuthSession<R>
impl<R> Sync for OAuthSession<R>
impl<R> Unpin for OAuthSession<R>
impl<R> UnsafeUnpin for OAuthSession<R>
impl<R> UnwindSafe for OAuthSession<R>
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