pub type OAuthRequestFn = extern "C" fn(req_json: StbStringRef, out: *mut StbString, user_data: *mut c_void) -> i32;Expand description
OAuth provider callback. The host sends a JSON action envelope and the
plugin returns a JSON response. Actions are begin, exchange,
refresh, and revoke; token material remains plugin-owned and is never
placed in normal agent events.