21 references to SspiCli
System.Security.Principal.Windows (21)
_generated\0\LibraryImports.g.cs (8)
980internal static partial int LsaLogonUser(global::Microsoft.Win32.SafeHandles.SafeLsaHandle LsaHandle, in global::Interop.Advapi32.LSA_STRING OriginName, global::Interop.SspiCli.SECURITY_LOGON_TYPE LogonType, int AuthenticationPackage, nint AuthenticationInformation, int AuthenticationInformationLength, nint LocalGroups, in global::Interop.SspiCli.TOKEN_SOURCE SourceContext, out global::Microsoft.Win32.SafeHandles.SafeLsaReturnBufferHandle ProfileBuffer, out int ProfileBufferLength, out global::Interop.LUID LogonId, out global::Microsoft.Win32.SafeHandles.SafeAccessTokenHandle Token, out global::Interop.SspiCli.QUOTA_LIMITS Quotas, out int SubStatus) 1003fixed (global::Interop.SspiCli.QUOTA_LIMITS* __Quotas_native = &Quotas) 1006fixed (global::Interop.SspiCli.TOKEN_SOURCE* __SourceContext_native = &SourceContext) 1038static extern unsafe int __PInvoke(nint __LsaHandle_native, global::Interop.Advapi32.LSA_STRING* __OriginName_native, global::Interop.SspiCli.SECURITY_LOGON_TYPE __LogonType_native, int __AuthenticationPackage_native, nint __AuthenticationInformation_native, int __AuthenticationInformationLength_native, nint __LocalGroups_native, global::Interop.SspiCli.TOKEN_SOURCE* __SourceContext_native, nint* __ProfileBuffer_native, int* __ProfileBufferLength_native, global::Interop.LUID* __LogonId_native, nint* __Token_native, global::Interop.SspiCli.QUOTA_LIMITS* __Quotas_native, int* __SubStatus_native);
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaHandle.cs (1)
19int ntStatus = Interop.SspiCli.LsaDeregisterLogonProcess(handle);
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLsaReturnBufferHandle.cs (1)
23return Interop.SspiCli.LsaFreeReturnBuffer(handle) >= 0;
System\Security\Principal\WindowsIdentity.cs (11)
16using KERB_LOGON_SUBMIT_TYPE = Interop.SspiCli.KERB_LOGON_SUBMIT_TYPE; 17using KERB_S4U_LOGON = Interop.SspiCli.KERB_S4U_LOGON; 18using KerbS4uLogonFlags = Interop.SspiCli.KerbS4uLogonFlags; 21using QUOTA_LIMITS = Interop.SspiCli.QUOTA_LIMITS; 22using SECURITY_LOGON_TYPE = Interop.SspiCli.SECURITY_LOGON_TYPE; 23using TOKEN_SOURCE = Interop.SspiCli.TOKEN_SOURCE; 137int packageId = LookupAuthenticationPackage(lsaHandle, Interop.SspiCli.AuthenticationPackageNames.MICROSOFT_KERBEROS_NAME_A); 191int ntStatus = Interop.SspiCli.LsaLogonUser( 234int ntStatus = Interop.SspiCli.LsaConnectUntrusted(out SafeLsaHandle lsaHandle); 250int ntStatus = Interop.SspiCli.LsaLookupAuthenticationPackage(lsaHandle, ref lsaPackageName, out packageId); 394int status = Interop.SspiCli.LsaGetLogonSessionData(ref authId, out pLogonSessionData);