Interface PowerAuthApplicationConfiguration


public interface PowerAuthApplicationConfiguration
Interface providing method for PowerAuth behavior high-level customization.
Author:
Petr Dvorak, petr@wultra.com
  • Method Summary

    Modifier and Type Method Description
    Map<String,​Object> statusServiceCustomObject​(ActivationContext activationContext)
    In order to minimize number of up-front request, /pa/activation/status end-point may return any custom state-less object with an information about the service (such as current timestamp, service outage info, etc.), or an activation-scoped object.
  • Method Details

    • statusServiceCustomObject

      Map<String,​Object> statusServiceCustomObject​(ActivationContext activationContext)
      In order to minimize number of up-front request, /pa/activation/status end-point may return any custom state-less object with an information about the service (such as current timestamp, service outage info, etc.), or an activation-scoped object. When fetching the activation scoped object, developers should pay attention to the performance. Status endpoint is a frequently called endpoint and hence any queries should use low-latency services. Default implementation may simply return null.
      Parameters:
      activationContext - Activation context.
      Returns:
      Custom object with state-less information about the API server status.