ServerCode

Undocumented

  • Undocumented

  • Endpoint to call on servercode

    Declaration

    Swift

    public let endpoint: String
  • This token will be used to call the external appID endpoint

    Declaration

    Swift

    public let executorAccessToken: String?
  • If provided, servercode endpoint will be called for this appid. Otherwise same appID of trigger is used

    Declaration

    Swift

    public let targetAppID: String?
  • Parameters to pass to the servercode function

    Declaration

    Swift

    public let parameters: Dictionary<String, AnyObject>?
  • Init TriggeredServerCodeResult with necessary attributes

    Parameter

    Parameter endpoint: Endpoint to call on servercode

    Parameter

    Parameter executorAccessToken: This token will be used to call the external appID endpoint

    Parameter

    Parameter targetAppID: If provided, servercode endpoint will be called for this appid. Otherwise same appID of trigger is used

    Parameter

    Parameter parameters: Parameters to pass to the servercode function

    Declaration

    Swift

    public init(endpoint: String, executorAccessToken: String?, targetAppID: String?, parameters: Dictionary<String, AnyObject>?)
  • Undocumented