Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate fields with a trait type #18

Open
therealbstern opened this issue Nov 16, 2016 · 1 comment
Open

Validate fields with a trait type #18

therealbstern opened this issue Nov 16, 2016 · 1 comment

Comments

@therealbstern
Copy link
Collaborator

Both usernames and passwords should be of specific Trait types, which incorporate validators and which are passed to the Authenticator. Examples of validation include:

  • non-empty
  • at least n characters long
  • not in the dictionary
  • contains arbitrary characters

As usual, provide default implementations of the validating types.

@therealbstern
Copy link
Collaborator Author

This is ignored by #22 but probably shouldn't be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant