C# Class NGM.CasClient.Services.CASAuthenticationService

Inheritance: IAuthenticationService
Mostra file Open project: NIKASoftwareDevs/Orchard

Public Methods

Method Description
CASAuthenticationService ( ShellSettings settings, IClock clock, IContentManager contentManager, IHttpContextAccessor httpContextAccessor, ICasIdentityRetriever casIdentityRetriever ) : System
GetAuthenticatedUser ( ) : IUser
SetAuthenticatedUserForRequest ( IUser user ) : void
SignIn ( IUser user, bool createPersistentCookie ) : void
SignOut ( ) : void

Private Methods

Method Description
GetCookiePath ( System.Web.HttpContextBase httpContext ) : string

Method Details

CASAuthenticationService() public method

public CASAuthenticationService ( ShellSettings settings, IClock clock, IContentManager contentManager, IHttpContextAccessor httpContextAccessor, ICasIdentityRetriever casIdentityRetriever ) : System
settings Orchard.Environment.Configuration.ShellSettings
clock IClock
contentManager IContentManager
httpContextAccessor IHttpContextAccessor
casIdentityRetriever ICasIdentityRetriever
return System

GetAuthenticatedUser() public method

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