Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By eblade
  1.    #1  
    Hi there,

    I'm new to webos development and I'm trying to make a synergy service & app for a twitter-like service. Since only oauth is allowed, I have to write Custom Validator for account manager, instead of using default user/password UI. But I've found the official document is too vague for me. It only says:

    Validation UI should return a result that looks like this:
    template: Template object,
    username: string,
    defaultResult: ResultObj,
    otherResults: array of ResultObj (optional),
    config: <dictionary of server settings in addition to those in ResultObjs>

    Where TemplateObj is a Template object as returned by listAccountTemplates and ResultObj is:
    item: {
    id: string (capability provider ID),
    validator: string (bus address of validator)
    result: { (response from the validator call)

    My questions are:
    in first code snippet, could the config be optional?
    in second code snippet, what does id/validator referer to? Is it the templateId and validator of account template? or of capabilities? Is the validator optional?

    Many Thanks in advance!

  2. #2  
    I'd definitely recommend also asking on the forums at the webOS developer site, as well.
    Remove Messaging Beeps patch for webOS 3.0.5, Left/Right bezel gestures in LunaCE,
    Whazaa! Messenger and node-wa, SynerGV 1 and 2 - Google Voice integration, XO - Subsonic Commander media streamer, AB:S Launcher
    (1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender
    People asked me for a donate link for my non-catalog work, so here you are:
    Rnp likes this.
  3.    #3  
    Thanks, posted there too.

Tags for this Thread

Posting Permissions