Cocktail Help Reference
AuthenticationService Class Members
See Also  Properties  Methods  Events Send Feedback
Cocktail Assembly > Cocktail Namespace : AuthenticationService Class


Glossary Item Box

The following tables list the members exposed by AuthenticationService.

Public Constructors

 NameDescription
Public ConstructorAuthenticationService ConstructorCreates a new AuthenticationService instance.  
Top

Public Properties

 NameDescription
Public PropertyAuthenticationContextReturns the current DevForce AuthenticationContext.  
Public PropertyConnectionOptionsSpecifies the IEntityManagerProvider.ConnectionOptions used by the current AuthenticationService.  
Public PropertyIsLoggedInReturns whether the user is logged in.  
Public PropertyPrincipalReturns the System.Security.Principal.IPrincipal representing the current user.  
Top

Public Methods

 NameDescription
Public MethodConfigureConfigures the current AuthenticationService.  
Public MethodLoginLogin with the supplied credential.  
Public MethodLoginAsyncLogin with the supplied credential.  
Public MethodLogoutLogs out the current user.  
Public MethodLogoutAsyncLogs out the current user.  
Top

Protected Methods

 NameDescription
Protected MethodLoginAsyncCoreInternal use.  
Protected MethodNotifyPropertyChangedInternal use.  
Protected MethodOnLoggedInTriggers the LoggedIn event.  
Protected MethodOnLoggedOutTriggers the LoggedOut event.  
Protected MethodOnPrincipalChangedTriggers the PrincipalChanged event.  
Top

Public Events

 NameDescription
Public EventLoggedInSignals that a user successfully logged in.  
Public EventLoggedOutSignals that a user successfully logged out.  
Public EventPrincipalChangedSignals that the principal has changed due to a login or logout.  
Public EventPropertyChangedNotifies of changed properties.  
Top

See Also

© 2012 All Rights Reserved.