Class Utility

java.lang.Object
com.cybersource.authsdk.util.Utility

public class Utility extends Object
  • Constructor Details

    • Utility

      public Utility()
  • Method Details

    • checkAuthenticationValidation

      public static boolean checkAuthenticationValidation(String authenticationType)
      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

      public static String retrieveGetIDFromRequestTarget(String requestTarget)
      Parameters:
      requestTarget - : request target from where we will retrieve Id
      Returns:
      id from request target.