pub struct CreateAccountRequest {
pub refresh_token: String,
pub expires_in: i32,
pub client: String,
pub grant_type: Option<String>,
pub cc_client_id: Option<String>,
pub cc_client_secret: Option<String>,
pub cc_instance: Option<String>,
pub cc_token_url: Option<String>,
pub mcp_server_url: Option<String>,
pub scopes: Option<Vec<String>>,
}Fields§
§refresh_token: StringOAuth refresh token. For authorization_code flow, this contains the actual refresh token. For client_credentials flow, this must be set to an empty string.
expires_in: i32§client: String§grant_type: Option<String>§cc_client_id: Option<String>OAuth client ID for resource-level credentials (client_credentials flow only)
cc_client_secret: Option<String>OAuth client secret for resource-level credentials (client_credentials flow only)
cc_instance: Option<String>Instance name for built-in providers whose client-credentials token URL is instance-templated; substituted into the fixed-host registry template server-side (client_credentials flow only). The token URL is never caller-supplied.
cc_token_url: Option<String>Bring-your-own token endpoint override (client_credentials flow only). Only honored together with cc_client_id/cc_client_secret and mutually exclusive with cc_instance; ignored/rejected on the shared-instance path.
mcp_server_url: Option<String>MCP server URL for MCP OAuth token refresh
scopes: Option<Vec<String>>OAuth scopes to use for token refresh. Overrides instance-level scopes.
Implementations§
Trait Implementations§
Source§impl Clone for CreateAccountRequest
impl Clone for CreateAccountRequest
Source§fn clone(&self) -> CreateAccountRequest
fn clone(&self) -> CreateAccountRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateAccountRequest
impl Debug for CreateAccountRequest
Source§impl Default for CreateAccountRequest
impl Default for CreateAccountRequest
Source§fn default() -> CreateAccountRequest
fn default() -> CreateAccountRequest
Source§impl<'de> Deserialize<'de> for CreateAccountRequest
impl<'de> Deserialize<'de> for CreateAccountRequest
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>,
Source§impl PartialEq for CreateAccountRequest
impl PartialEq for CreateAccountRequest
Source§fn eq(&self, other: &CreateAccountRequest) -> bool
fn eq(&self, other: &CreateAccountRequest) -> bool
self and other values to be equal, and is used by ==.