Class PowerAuthRequestCanonizationUtils
java.lang.Object
io.getlime.security.powerauth.http.PowerAuthRequestCanonizationUtils
Canonization utilities for PowerAuth requests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcanonizeGetParameters(String queryString) Take the GET request query string (for example, "param1=key1¶m2=key2") and convert it to the canonized form by sorting the key value pairs primarily by keys and by values in case the keys are equal.
-
Constructor Details
-
PowerAuthRequestCanonizationUtils
public PowerAuthRequestCanonizationUtils()
-
-
Method Details
-
canonizeGetParameters
Take the GET request query string (for example, "param1=key1¶m2=key2") and convert it to the canonized form by sorting the key value pairs primarily by keys and by values in case the keys are equal.- Parameters:
queryString- The original get query string, obtained for example by 'request.getQueryString();'.- Returns:
- Canonized query string.
-