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

feat: Add dynamic retrieval for client password #1926

Merged
merged 9 commits into from Jul 25, 2019

Commits on Jul 18, 2019

  1. feat: Add dynamic retrieval for client password

    Adds option to specify a function for a client password. When the client
    is connected, if the value of password is a function then it is invoked
    to get the password to use for that connection.
    
    The function must return either a string or a Promise that resolves to
    a string. If the function throws or rejects with an error then it will
    be bubbled up to the client.
    sehrope committed Jul 18, 2019
    Copy the full SHA
    83e8fa5 View commit details
    Browse the repository at this point in the history
  2. test: Add testAsync() helper to Suite

    Add testAsync() helper function to Suite to simplify running tests that
    return a Promise. The test action is executed and if a syncronous error
    is thrown then it is immediately considered failed. If the Promise resolves
    successfully then the test is considered successful. If the Promise
    rejects with an Error then the test is considered failed.
    sehrope committed Jul 18, 2019
    Copy the full SHA
    1d331b4 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    2d7f9fd View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Copy the full SHA
    bafdad5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    afc7388 View commit details
    Browse the repository at this point in the history
  3. test: Remove extra semicolons

    sehrope committed Jul 19, 2019
    Copy the full SHA
    14e4fb5 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fe5a246 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    3b1c2e4 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    e1d71f8 View commit details
    Browse the repository at this point in the history