Interface PowerAuthApplicationConfiguration
-
public interface PowerAuthApplicationConfigurationInterface providing method for PowerAuth behavior high-level customization.- Author:
- Petr Dvorak, petr@wultra.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAllowedApplicationKey(java.lang.String applicationKey)Check if a given application key is allowed in given server instance.java.util.Map<java.lang.String,java.lang.Object>statusServiceCustomObject()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.).
-
-
-
Method Detail
-
isAllowedApplicationKey
boolean isAllowedApplicationKey(java.lang.String applicationKey)
Check if a given application key is allowed in given server instance. Default and suggested behavior is to simply return true, unless for some reason given application key must be restricted while still being "supported" in the PowerAuth server database.- Parameters:
applicationKey- Application key- Returns:
- True if the application key is allowed, false otherwise.
-
statusServiceCustomObject
java.util.Map<java.lang.String,java.lang.Object> statusServiceCustomObject()
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.). Default implementation may simply return null.- Returns:
- Custom object with state-less information about the API server status.
-
-