isValidAppKey

public static boolean isValidAppKey(String appKey)

Current policy for server appKey: Only lowercase letters or numbers are allowed. For future extensibility, the client-side logic includes uppercase letters. Validates if the string contains only a-z, A-Z, 0-9 and has a length less than or equal to 20.

Return

true if the string meets the criteria

Parameters

appKey

The string to be validated