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

attempting compatibility with PAM authentication #10

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asmodehn
Copy link

@asmodehn asmodehn commented Nov 4, 2020

Not sure if it is suitable here to fully depend on pamela or not.

It seems however the current design auth(username) -> password cannot coexist with the arguably safer PAM auth(username, password) -- delayed --> Bool behavior, given that both usecases can have a second optional argument with different semantics...

So the alternative to not depend on pamela, is to restrict the design to support only a auth(username, password) -> Bool behavior, and current examples become invalid... -> new major version ?

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

Successfully merging this pull request may close these issues.

1 participant