pub struct AppRegisterRequest {Show 13 fields
pub app_markup_percentage: Option<String>,
pub app_register: i64,
pub appstore: Option<String>,
pub github: Option<String>,
pub googleplay: Option<String>,
pub homepage: Option<String>,
pub loginid: Option<String>,
pub name: String,
pub passthrough: Option<Value>,
pub redirect_uri: Option<String>,
pub req_id: Option<i64>,
pub scopes: Vec<ScopeItem>,
pub verification_uri: Option<String>,
}Expand description
Register a new OAuth application
Fields§
§app_markup_percentage: Option<String>[Optional] Markup to be added to contract prices (as a percentage of contract payout). Max markup: 3%.\n
app_register: i64Must be 1\n
appstore: Option<String>[Optional] Application’s App Store URL (if applicable).\n
github: Option<String>[Optional] Application’s GitHub page (for open-source projects).\n
googleplay: Option<String>[Optional] Application’s Google Play URL (if applicable).\n
homepage: Option<String>[Optional] Application’s homepage URL.\n
loginid: Option<String>[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
name: StringApplication name.\n
passthrough: Option<Value>[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.\n
redirect_uri: Option<String>[Optional] The URL to redirect to after a successful login. Required if charging markup percentage\n
req_id: Option<i64>[Optional] Used to map request to response.\n
scopes: Vec<ScopeItem>List of permission scopes to grant the application.\n
verification_uri: Option<String>[Optional] Used when verify_email called. If available, a URL containing the verification token will be sent to the client’s email, otherwise only the token will be sent.\n
Trait Implementations§
Source§impl Clone for AppRegisterRequest
impl Clone for AppRegisterRequest
Source§fn clone(&self) -> AppRegisterRequest
fn clone(&self) -> AppRegisterRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more