IdeaBlade DevForce 2010 Help Reference
LoginCredential Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : LoginCredential Class



A credential for password-based authentication schemes.

Syntax

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  

Remarks

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.

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.LoginCredential
      IdeaBlade.EntityModel.FormsAuthenticationLoginCredential

Requirements

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

See Also

© 2013 All Rights Reserved.