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

Export auth interface to allow external implementations e.g. krb5 - V1-Candidate #15

Merged
merged 14 commits into from
Aug 22, 2022

Commits on May 4, 2022

  1. Export auth interface to allow external implementations

    The original driver auth interface and implementations have been moved into their own packages and exported. There are two implementations within the driver, NTML and Windows kerberos.
    As before the default on windows is the winsspi package and on, on Linux, NTLM.
    
    The consuming application can now override this at runtime by calling mssql.SetAuthProvider(authProvider)
    
    This allows the application to provide a custom implementation of the auth.Provider interface.
    auth.Provider is in turn responsible for creating an instance of auth.Auth for the required authentication mechanism. windows, NTML etc.
    PeteBassettBet365 committed May 4, 2022
    Configuration menu
    Copy the full SHA
    edabed9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3696b7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b0ae693 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a97c33e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d20acce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c8e8ecd View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Configuration menu
    Copy the full SHA
    86ae3f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35670cf View commit details
    Browse the repository at this point in the history
  3. fix windows sspi

    PeteBassettBet365 committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    5d1d7b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. Configuration menu
    Copy the full SHA
    9e70eab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fd8e3b View commit details
    Browse the repository at this point in the history
  3. fix linting issues

    PeteBassettBet365 committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    0c8bfce View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. Configuration menu
    Copy the full SHA
    6437077 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    9fbe18e View commit details
    Browse the repository at this point in the history