pub struct McpOauthWWWAuthenticateParams {
pub error: Option<String>,
pub resource_metadata_url: String,
pub scope: Option<String>,
}Expand description
OAuth WWW-Authenticate parameters parsed from an MCP auth challenge
Fields§
§error: Option<String>OAuth error from the WWW-Authenticate error parameter, if present
resource_metadata_url: StringProtected resource metadata URL from the WWW-Authenticate resource_metadata parameter
scope: Option<String>Requested OAuth scopes from the WWW-Authenticate scope parameter, if present
Trait Implementations§
Source§impl Clone for McpOauthWWWAuthenticateParams
impl Clone for McpOauthWWWAuthenticateParams
Source§fn clone(&self) -> McpOauthWWWAuthenticateParams
fn clone(&self) -> McpOauthWWWAuthenticateParams
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 moreSource§impl Default for McpOauthWWWAuthenticateParams
impl Default for McpOauthWWWAuthenticateParams
Source§fn default() -> McpOauthWWWAuthenticateParams
fn default() -> McpOauthWWWAuthenticateParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpOauthWWWAuthenticateParams
impl<'de> Deserialize<'de> for McpOauthWWWAuthenticateParams
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 McpOauthWWWAuthenticateParams
impl RefUnwindSafe for McpOauthWWWAuthenticateParams
impl Send for McpOauthWWWAuthenticateParams
impl Sync for McpOauthWWWAuthenticateParams
impl Unpin for McpOauthWWWAuthenticateParams
impl UnsafeUnpin for McpOauthWWWAuthenticateParams
impl UnwindSafe for McpOauthWWWAuthenticateParams
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