pub struct McpOauthPrepareLoginRequest {
pub callback_success_message: Option<String>,
pub client_name: Option<String>,
pub expected_installation_id: String,
pub force_reauth: Option<bool>,
pub server_name: 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§
§callback_success_message: Option<String>Text shown on the loopback callback page after successful authorisation.
client_name: Option<String>Display name used by the incumbent OAuth client-registration flow.
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.
server_name: StringName recorded by the authoritative owned installation receipt.
Trait Implementations§
Source§impl Clone for McpOauthPrepareLoginRequest
impl Clone for McpOauthPrepareLoginRequest
Source§impl Debug for McpOauthPrepareLoginRequest
impl Debug for McpOauthPrepareLoginRequest
Source§impl<'de> Deserialize<'de> for McpOauthPrepareLoginRequest
impl<'de> Deserialize<'de> for McpOauthPrepareLoginRequest
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 McpOauthPrepareLoginRequest
impl RefUnwindSafe for McpOauthPrepareLoginRequest
impl Send for McpOauthPrepareLoginRequest
impl Sync for McpOauthPrepareLoginRequest
impl Unpin for McpOauthPrepareLoginRequest
impl UnsafeUnpin for McpOauthPrepareLoginRequest
impl UnwindSafe for McpOauthPrepareLoginRequest
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