1 /* 2 * Copyright 2019, Andrew Lindesay <apl@lindesay.co.nz>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 #ifndef VALIDATION_UTILS_H 6 #define VALIDATION_UTILS_H 7 8 9 #include <String.h> 10 11 12 class ValidationUtils { 13 14 public: 15 static bool IsValidEmail(const BString& value); 16 static bool IsValidNickname(const BString& value); 17 static bool IsValidPasswordClear(const BString& value); 18 }; 19 20 #endif // VALIDATION_UTILS_H 21