IPWorks Auth 2020 Kotlin Edition

Questions / Feedback?

ReturnURL Event

Fires when the user is redirected to the embedded web server.

Syntax

public open class DefaultOpenidEventListener : OpenidEventListener {
  ...
  public override fun returnURL(e: OpenidReturnURLEvent) {}
  ...
}

public class OpenidReturnURLEvent {
  val urlPath: String?
  val queryString: String?
  val state: String?
  var responseHeaders: String?
  var responseBody: String?
}

Remarks

When ClientProfile is set to cfApplication and the embedded web server is used (default), this event will fire when the user is redirected from authorization server back to the local embedded web server. The event provides an opportunity to set the ResponseHeaders and ResponseBody and provide a custom response that the user will see in their browser.

URLPath and QueryString are informational parameters that show the values sent by the authorization server.

State holds the value of the state parameter that was originally sent with the authorization request. This may be used to maintain state between the request and response. See State for more details.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Auth 2020 Kotlin Edition - Version 20.0 [Build 7941]