pub struct OAuthReady { /* private fields */ }Expand description
Ready-to-use OAuth session wrapping rmcp AuthClient.
Implementations§
Source§impl OAuthReady
impl OAuthReady
pub fn auth_client(&self) -> &AuthClient<Client>
pub fn into_auth_client(self) -> AuthClient<Client>
pub async fn access_token(&self) -> Result<String>
Auto Trait Implementations§
impl !RefUnwindSafe for OAuthReady
impl !UnwindSafe for OAuthReady
impl Freeze for OAuthReady
impl Send for OAuthReady
impl Sync for OAuthReady
impl Unpin for OAuthReady
impl UnsafeUnpin for OAuthReady
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