Package es.kukenan.smartfi.common.utils
Class CommonsUtils
java.lang.Object
es.kukenan.smartfi.common.utils.CommonsUtils
Utilities class for smartfi-commonss.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractDeviceId(WalletAuthentication walletAuthentication) Extract device ID from Wallet authentication.static StringextractUserId(WalletAuthentication walletAuthentication) Extract user ID from Wallet authentication.
-
Field Details
-
EMPTY_STRING
Constant use for string empty fields.- See Also:
-
-
Constructor Details
-
CommonsUtils
public CommonsUtils()
-
-
Method Details
-
extractUserId
Extract user ID from Wallet authentication.- Parameters:
walletAuthentication- received authentication.- Returns:
- the user identifier.
-
extractDeviceId
Extract device ID from Wallet authentication.- Parameters:
walletAuthentication- received authentication.- Returns:
- the device identifier.
-