Interface identifying an authentication service. If present, entity manager providers will use the authentication service to link the credentials between multiple entity managers.
Syntax
Visual Basic (Declaration) | |
---|
Public Interface IAuthenticationService
Inherits IdeaBlade.Core.IHideObjectMembers |
C# | |
---|
public interface IAuthenticationService : IdeaBlade.Core.IHideObjectMembers |
C++/CLI | |
---|
public interface class IAuthenticationService : public IdeaBlade.Core.IHideObjectMembers |
Example
Demonstrates how to enable the authentication service in an application.
C# | Copy Code |
---|
public class AppBootstrapper : FrameworkBootstrapper<MainFrameViewModel>
{
protected override void PrepareCompositionContainer(CompositionBatch batch)
{
base.PrepareCompositionContainer(batch);
// Inject the authentication service into the framework.
batch.AddExportedValue<IAuthenticationService>(new AuthenticationService<NorthwindIBEntities>());
}
} |
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