diff --git a/lib/EapHost/include/Credentials.h b/lib/EapHost/include/Credentials.h index 41372c4..8e13b25 100644 --- a/lib/EapHost/include/Credentials.h +++ b/lib/EapHost/include/Credentials.h @@ -177,11 +177,6 @@ namespace eap /// @} - /// - /// Returns credential identity. - /// - virtual std::wstring get_identity() const; - /// /// Combine credentials in the following order: /// diff --git a/lib/EapHost/src/Credentials.cpp b/lib/EapHost/src/Credentials.cpp index 68ab566..6033666 100644 --- a/lib/EapHost/src/Credentials.cpp +++ b/lib/EapHost/src/Credentials.cpp @@ -231,19 +231,6 @@ LPCTSTR eap::credentials_eaphost::target_suffix() const } -std::wstring eap::credentials_eaphost::get_identity() const -{ - if (!m_identity.empty()) { - return m_identity; - } else if (!m_cred_blob.empty()) { - // TODO: Use EapHostPeerGetIdentity() to obtain user identity. - assert(0); - } - - return L""; -} - - eap::credentials::source_t eap::credentials_eaphost::combine( _In_ DWORD dwFlags, _In_ HANDLE hTokenImpersonateUser,