pub struct SessionRpcMcpOauth<'a> { /* private fields */ }Expand description
session.mcp.oauth.* RPCs.
Implementations§
Source§impl<'a> SessionRpcMcpOauth<'a>
impl<'a> SessionRpcMcpOauth<'a>
Sourcepub async fn login(
&self,
params: McpOauthLoginRequest,
) -> Result<McpOauthLoginResult, Error>
pub async fn login( &self, params: McpOauthLoginRequest, ) -> Result<McpOauthLoginResult, Error>
Wire method: session.mcp.oauth.login.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for SessionRpcMcpOauth<'a>
impl<'a> Clone for SessionRpcMcpOauth<'a>
Source§fn clone(&self) -> SessionRpcMcpOauth<'a>
fn clone(&self) -> SessionRpcMcpOauth<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for SessionRpcMcpOauth<'a>
Auto Trait Implementations§
impl<'a> Freeze for SessionRpcMcpOauth<'a>
impl<'a> !RefUnwindSafe for SessionRpcMcpOauth<'a>
impl<'a> Send for SessionRpcMcpOauth<'a>
impl<'a> Sync for SessionRpcMcpOauth<'a>
impl<'a> Unpin for SessionRpcMcpOauth<'a>
impl<'a> UnsafeUnpin for SessionRpcMcpOauth<'a>
impl<'a> !UnwindSafe for SessionRpcMcpOauth<'a>
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