pub struct AuthConfigUpdateParams {
pub name: Option<String>,
pub credentials: Option<Value>,
pub proxy_config: Option<Value>,
pub tool_access_config: Option<Value>,
}Expand description
Parameters for updating an authentication configuration
§Example
use composio_sdk::models::AuthConfigUpdateParams;
use serde_json::json;
let params = AuthConfigUpdateParams {
name: Some("My GitHub App".to_string()),
credentials: Some(json!({
"scopes": ["repo", "user", "admin:org"]
})),
proxy_config: None,
tool_access_config: None,
};Fields§
§name: Option<String>New name for the auth config
credentials: Option<Value>Updated credentials
proxy_config: Option<Value>Proxy configuration
tool_access_config: Option<Value>Tool access configuration
Trait Implementations§
Source§impl Clone for AuthConfigUpdateParams
impl Clone for AuthConfigUpdateParams
Source§fn clone(&self) -> AuthConfigUpdateParams
fn clone(&self) -> AuthConfigUpdateParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthConfigUpdateParams
impl Debug for AuthConfigUpdateParams
Source§impl Default for AuthConfigUpdateParams
impl Default for AuthConfigUpdateParams
Source§fn default() -> AuthConfigUpdateParams
fn default() -> AuthConfigUpdateParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthConfigUpdateParams
impl RefUnwindSafe for AuthConfigUpdateParams
impl Send for AuthConfigUpdateParams
impl Sync for AuthConfigUpdateParams
impl Unpin for AuthConfigUpdateParams
impl UnsafeUnpin for AuthConfigUpdateParams
impl UnwindSafe for AuthConfigUpdateParams
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