Class CommonsUtils

java.lang.Object
es.kukenan.smartfi.common.utils.CommonsUtils

public class CommonsUtils extends Object
Utilities class for smartfi-commonss.
  • Field Details

  • Constructor Details

    • CommonsUtils

      public CommonsUtils()
  • Method Details

    • extractUserId

      public static String extractUserId(WalletAuthentication walletAuthentication)
      Extract user ID from Wallet authentication.
      Parameters:
      walletAuthentication - received authentication.
      Returns:
      the user identifier.
    • extractDeviceId

      public static String extractDeviceId(WalletAuthentication walletAuthentication)
      Extract device ID from Wallet authentication.
      Parameters:
      walletAuthentication - received authentication.
      Returns:
      the device identifier.