edgexfoundry / go-mod-core-contracts

Owner: Core/Support WG
Apache License 2.0
27 stars 67 forks source link

Support username/password validations #945

Closed jinlinGuan closed 2 weeks ago

jinlinGuan commented 2 weeks ago

πŸš€ Feature Request

Relevant Package [REQUIRED]

This feature request is for all ### Description [**REQUIRED**] A clear and concise description of the problem or missing capability... validate username, password and no reserved chars ### Describe the solution you'd like If you have a solution in mind, please describe it. Add `ValidateDtoUsername`, `ValidateDtoPassword`, and `ValidateDtoNoReservedChars` to validation.go ### Describe alternatives you've considered Have you considered any alternative solutions or workarounds?