Sajidur78 / CredNet

CredNet is a library for easily creating windows credential providers with .Net.
MIT License
17 stars 3 forks source link

Added ModifySerializationForUnlock method #2

Closed alexamiryan closed 3 years ago

alexamiryan commented 3 years ago

Added ModifySerializationForUnlock method for modifying existing Serialization for unlocking scenario if needed

alexamiryan commented 3 years ago

Maybe we can just change the method name? Actually it modifies Logon serialization to become a unlock serialization, so there is no point to giving it logon serialization and request logon serialization, it shouldn't modify it in that case

Sajidur78 commented 3 years ago

Having a type argument in the function makes it easier to re-use in the future if it will ever be needed.

alexamiryan commented 3 years ago

Please check now