Package com.cybersource.authsdk.util
Class Utility
java.lang.Object
com.cybersource.authsdk.util.Utility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckAuthenticationValidation(String authenticationType) Checks whether the authentication type is rightly entered with no typo error.static StringretrieveGetIDFromRequestTarget(String requestTarget)
-
Constructor Details
-
Utility
public Utility()
-
-
Method Details
-
checkAuthenticationValidation
Checks whether the authentication type is rightly entered with no typo error.- Parameters:
authenticationType- : HTTP or JWT- Returns:
- -true if valid authentication type else return false.
-
retrieveGetIDFromRequestTarget
- Parameters:
requestTarget- : request target from where we will retrieve Id- Returns:
- id from request target.
-