Related functions and events

  • Use the CloudAppGet and CloudAppSet functions to get or change the authentication mode for Web APIs.

    These functions are only effective for PowerServer Web APIs; and they override the IDE settings.

    CloudAppSet("apiwinauth", "1")   // enable Integrated mode
    CloudAppGet("apiwinauth", string_value)
    
  • Use the SessionCreating event to adjust the PowerServer Web API URL, authentication settings etc. programatically before the session is created. SessionCreating is fired before the session is created.