NTLMAuthenticationProviderBase.cs 976 B

1234567891011121314151617181920212223
  1. /* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
  2. *
  3. * You can redistribute this program and/or modify it under the terms of
  4. * the GNU Lesser Public License as published by the Free Software Foundation,
  5. * either version 3 of the License, or (at your option) any later version.
  6. */
  7. using System;
  8. using System.Collections.Generic;
  9. using SMBLibrary.Authentication.GSSAPI;
  10. namespace SMBLibrary.Authentication.NTLM
  11. {
  12. public abstract class NTLMAuthenticationProviderBase
  13. {
  14. public abstract Win32Error GetChallengeMessage(out object context, NegotiateMessage negotiateMessage, out ChallengeMessage challengeMessage);
  15. public abstract Win32Error Authenticate(object context, AuthenticateMessage authenticateMessage);
  16. public abstract void DeleteSecurityContext(ref object context);
  17. public abstract object GetContextAttribute(object context, GSSAttributeName attributeName);
  18. }
  19. }