MCPcopy Create free account
hub / github.com/documentdb/documentdb / IsUsernameValid

Function IsUsernameValid

pg_documentdb/src/api_hooks.c:344–353  ·  view source on GitHub ↗

* Default username validation implementation * Returns true if username is valid, false otherwise */

Source from the content-addressed store, hash-verified

342 * Returns true if username is valid, false otherwise
343 */
344bool
345IsUsernameValid(const char *username)
346{
347 if (username_validation_hook != NULL)
348 {
349 return username_validation_hook(username);
350 }
351
352 return true;
353}
354
355
356void

Callers 1

ParseCreateUserSpecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected