LsaCallAuthenticationPackage(LsaHandle, AuthenticationPackage, MessageType, ProtocolSubmitBuffer)
Requests the services of an authentication package
| MessageType | Input type |
| KerbQueryTicketCacheMessage | long - a logon id, use 0 for current logon session |
| KerbRetrieveTicketMessage | long - a logon id, use 0 for current logon session |
| KerbPurgeTicketCacheMessage | (long, PyUnicode , PyUnicode ) - tuple containing (LogonId, ServerName, RealmName) |
| KerbRetrieveEncodedTicketMessage | (LogonId, TargetName, TicketFlags, CacheOptions, EncryptionType, CredentialsHandle) (int, PyUnicode , int, int, int, PyCredHandle) |
| MessageType | Return type |
| KerbQueryTicketCacheMessage | (dict,...) - Returns all tickets for the specified logon session (form is KERB_TICKET_CACHE_INFO) |
| KerbPurgeTicketCacheMessage | None |
| KerbRetrieveTicketMessage | Returns the ticket granting ticket for the logon session as a KERB_EXTERNAL_TICKET |
| KerbRetrieveEncodedTicketMessage | Returns specified ticket as a KERB_EXTERNAL_TICKET |