You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a superset of #33 (make usernames more restrictive). The premise is that we want to tell the Authenticator that passwords (or usernames, or X.509 certificates, or ...) need to have certain criteria before they can be accepted.
The trivial way to do this is to implement a trait where the default implementation is to accept the value, and it can be overridden with an implementation that knows better.
The text was updated successfully, but these errors were encountered:
I would like to fluff and fold so that we could provide overlapping sets of traits, maybe a Vec of rules that must be satisfied, and the library enumerates them, but the lower-hanging fruit is to allow the consumer of the library to implement the trait in whole cloth.
This is a superset of #33 (make usernames more restrictive). The premise is that we want to tell the
Authenticator
that passwords (or usernames, or X.509 certificates, or ...) need to have certain criteria before they can be accepted.The trivial way to do this is to implement a trait where the default implementation is to accept the value, and it can be overridden with an implementation that knows better.
The text was updated successfully, but these errors were encountered: