Remove extraneous APIs
mattjohnsonpint opened this issue · 0 comments
mattjohnsonpint commented
The Impersonation
class is extraneous now. Most of the methods are just various wrappers over WindowsIdentity.RunImpersontated
.
The only real functionality that needs to be provided is a managed wrapper over LogonUser
that returns a SafeAccessTokenHandle
. I'll expose that directly (per #60) and obsolete the rest. That is much simpler.