C# Class ActiveDirectoryAuthorization.Services.ActiveDirectoryAuthenticationService

Inheritance: IAuthenticationService
Mostra file Open project: moov2/Orchard.ActiveDirectoryAuthorization

Public Methods

Method Description
ActiveDirectoryAuthenticationService ( Work membershipService ) : System.Web
GetAuthenticatedUser ( ) : IUser

Overrides the default behaviour to return an instance of ActiveDirectoryUser based on the current user in the context if a UserPart hasn't been created for the active directory user yet.

SetAuthenticatedUserForRequest ( IUser user ) : void
SignIn ( IUser user, bool createPersistentCookie ) : void
SignOut ( ) : void

Method Details

ActiveDirectoryAuthenticationService() public method

public ActiveDirectoryAuthenticationService ( Work membershipService ) : System.Web
membershipService Work
return System.Web

GetAuthenticatedUser() public method

Overrides the default behaviour to return an instance of ActiveDirectoryUser based on the current user in the context if a UserPart hasn't been created for the active directory user yet.
public GetAuthenticatedUser ( ) : IUser
return IUser

SetAuthenticatedUserForRequest() public method

public SetAuthenticatedUserForRequest ( IUser user ) : void
user IUser
return void

SignIn() public method

public SignIn ( IUser user, bool createPersistentCookie ) : void
user IUser
createPersistentCookie bool
return void

SignOut() public method

public SignOut ( ) : void
return void