Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const ( SEC_E_OK = 0 SECPKG_CRED_OUTBOUND = 2 SEC_WINNT_AUTH_IDENTITY_UNICODE = 2 ISC_REQ_DELEGATE = 0x00000001 ISC_REQ_REPLAY_DETECT = 0x00000004 ISC_REQ_SEQUENCE_DETECT = 0x00000008 ISC_REQ_CONFIDENTIALITY = 0x00000010 ISC_REQ_CONNECTION = 0x00000800 SECURITY_NETWORK_DREP = 0 SEC_I_CONTINUE_NEEDED = 0x00090312 SEC_I_COMPLETE_NEEDED = 0x00090313 SEC_I_COMPLETE_AND_CONTINUE = 0x00090314 SECBUFFER_VERSION = 0 SECBUFFER_TOKEN = 2 NTLMBUF_LEN = 12000 )
View Source
const ISC_REQ = ISC_REQ_CONFIDENTIALITY | ISC_REQ_REPLAY_DETECT | ISC_REQ_SEQUENCE_DETECT | ISC_REQ_CONNECTION | ISC_REQ_DELEGATE
Variables ¶
View Source
var AuthProvider integratedauth.Provider = integratedauth.ProviderFunc(getAuth)
AuthProvider handles SSPI Windows Authentication via secur32.dll functions
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Domain string UserName string Password string Service string // contains filtered or unexported fields }
func (*Auth) InitialBytes ¶
type SEC_WINNT_AUTH_IDENTITY ¶
type SecBuffer ¶
type SecBuffer struct { BufferType uint32 // contains filtered or unexported fields }
type SecBufferDesc ¶
type SecBufferDesc struct {
// contains filtered or unexported fields
}
type SecurityFunctionTable ¶
type SecurityFunctionTable struct { EnumerateSecurityPackages uintptr QueryCredentialsAttributes uintptr AcquireCredentialsHandle uintptr FreeCredentialsHandle uintptr Reserved2 uintptr InitializeSecurityContext uintptr AcceptSecurityContext uintptr CompleteAuthToken uintptr DeleteSecurityContext uintptr ApplyControlToken uintptr QueryContextAttributes uintptr ImpersonateSecurityContext uintptr RevertSecurityContext uintptr MakeSignature uintptr VerifySignature uintptr FreeContextBuffer uintptr QuerySecurityPackageInfo uintptr Reserved3 uintptr Reserved4 uintptr Reserved5 uintptr Reserved6 uintptr Reserved7 uintptr Reserved8 uintptr QuerySecurityContextToken uintptr EncryptMessage uintptr DecryptMessage uintptr // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.