C# Class NGM.CasClient.Services.CASAuthenticationService

Inheritance: IAuthenticationService
Afficher le fichier Open project: NIKASoftwareDevs/Orchard

Méthodes publiques

Méthode 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

Méthode Description
GetCookiePath ( System.Web.HttpContextBase httpContext ) : string

Method Details

CASAuthenticationService() public méthode

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
Résultat System

GetAuthenticatedUser() public méthode

public GetAuthenticatedUser ( ) : IUser
Résultat IUser

SetAuthenticatedUserForRequest() public méthode

public SetAuthenticatedUserForRequest ( IUser user ) : void
user IUser
Résultat void

SignIn() public méthode

public SignIn ( IUser user, bool createPersistentCookie ) : void
user IUser
createPersistentCookie bool
Résultat void

SignOut() public méthode

public SignOut ( ) : void
Résultat void