| Visual Basic (Declaration) | |
|---|---|
<DataContractAttribute()> Public Class LoginCredential Implements ILoginCredential | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As LoginCredential | |
| C# | |
|---|---|
[DataContractAttribute()] public class LoginCredential : ILoginCredential | |
| C++/CLI | |
|---|---|
[DataContractAttribute()] public ref class LoginCredential : public ILoginCredential | |
An ILoginCredential is passed to the Login method to validate a user.
In Silverlight and ASP.NET applications, the FormsAuthenticationLoginCredential can be used to control persistence of the authentication ticket.
Create a custom ILoginCredential if you have specific requirements for the credentials provided to your IEntityLoginManager.
Note that the credential is passed in clear text to the Entity Server. You should secure Entity Server communications using message or transport security.
System.Object
IdeaBlade.EntityModel.LoginCredential
IdeaBlade.EntityModel.FormsAuthenticationLoginCredential
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family