C# Class ActiveDirectoryAuthorization.Services.ActiveDirectoryAuthorizationService

Inheritance: IAuthorizationService
Datei anzeigen Open project: moov2/Orchard.ActiveDirectoryAuthorization

Public Methods

Method Description
ActiveDirectoryAuthorizationService ( IRoleService roleService, IWorkContextAccessor workContextAccessor, IAuthorizationServiceEventHandler authorizationServiceEventHandler ) : System
CheckAccess ( Orchard.Security.Permissions.Permission permission, IUser user, IContent content ) : void
TryCheckAccess ( Orchard.Security.Permissions.Permission permission, IUser user, IContent content ) : bool

Private Methods

Method Description
PermissionNames ( Orchard.Security.Permissions.Permission permission, IEnumerable stack ) : IEnumerable

Method Details

ActiveDirectoryAuthorizationService() public method

public ActiveDirectoryAuthorizationService ( IRoleService roleService, IWorkContextAccessor workContextAccessor, IAuthorizationServiceEventHandler authorizationServiceEventHandler ) : System
roleService IRoleService
workContextAccessor IWorkContextAccessor
authorizationServiceEventHandler IAuthorizationServiceEventHandler
return System

CheckAccess() public method

public CheckAccess ( Orchard.Security.Permissions.Permission permission, IUser user, IContent content ) : void
permission Orchard.Security.Permissions.Permission
user IUser
content IContent
return void

TryCheckAccess() public method

public TryCheckAccess ( Orchard.Security.Permissions.Permission permission, IUser user, IContent content ) : bool
permission Orchard.Security.Permissions.Permission
user IUser
content IContent
return bool