pub struct SessionMcpOauthPrepareLoginParams {
pub server_name: String,
pub expected_installation_id: String,
pub force_reauth: Option<bool>,
pub client_name: Option<String>,
pub callback_success_message: Option<String>,
}Expand description
Effect-free preparation bound to the existing local session, requester and installation, with frozen options.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§server_name: StringName recorded by the authoritative owned installation receipt.
expected_installation_id: StringExact installation identity from owned inventory, never a server-name alias.
force_reauth: Option<bool>Request a new authorisation rather than accepting a usable cached grant.
client_name: Option<String>Display name used by the incumbent OAuth client-registration flow.
callback_success_message: Option<String>Text shown on the loopback callback page after successful authorisation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionMcpOauthPrepareLoginParams
impl<'de> Deserialize<'de> for SessionMcpOauthPrepareLoginParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionMcpOauthPrepareLoginParams
impl RefUnwindSafe for SessionMcpOauthPrepareLoginParams
impl Send for SessionMcpOauthPrepareLoginParams
impl Sync for SessionMcpOauthPrepareLoginParams
impl Unpin for SessionMcpOauthPrepareLoginParams
impl UnsafeUnpin for SessionMcpOauthPrepareLoginParams
impl UnwindSafe for SessionMcpOauthPrepareLoginParams
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