Default implementation of an authentication service. Subclass if different behavior is desired, otherwise use as-is.
Object Model
Syntax
Visual Basic (Declaration) | |
---|
Public Class AuthenticationService
Implements IAuthenticationService, IdeaBlade.Core.IHideObjectMembers, IdeaBlade.EntityModel.Security.IAuthenticationContext |
C# | |
---|
public class AuthenticationService : IAuthenticationService, IdeaBlade.Core.IHideObjectMembers, IdeaBlade.EntityModel.Security.IAuthenticationContext |
C++/CLI | |
---|
public ref class AuthenticationService : public IAuthenticationService, IdeaBlade.Core.IHideObjectMembers, IdeaBlade.EntityModel.Security.IAuthenticationContext |
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());
}
} |
Inheritance Hierarchy
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