C# Class Disco.Services.Authorization.AuthorizationLog

Inheritance: Disco.Services.Logging.LogBase
Mostrar archivo Open project: garysharp/Disco

Public Methods

Method Description
LogAccessDenied ( string UserId, string Resource, string Reason ) : void
LogAdministratorSubjectsAdded ( string UserId, IEnumerable SubjectsAdded ) : void
LogAdministratorSubjectsRemoved ( string UserId, IEnumerable SubjectsRemoved ) : void
LogRoleConfiguredClaimsAdded ( AuthorizationRole Role, string UserId, IEnumerable ClaimsAdded ) : void
LogRoleConfiguredClaimsRemoved ( AuthorizationRole Role, string UserId, IEnumerable ClaimsRemoved ) : void
LogRoleConfiguredRenamed ( AuthorizationRole Role, string UserId, string OldRoleName ) : void
LogRoleConfiguredSubjectsAdded ( AuthorizationRole Role, string UserId, IEnumerable SubjectsAdded ) : void
LogRoleConfiguredSubjectsRemoved ( AuthorizationRole Role, string UserId, IEnumerable SubjectsRemoved ) : void
LogRoleCreated ( AuthorizationRole Role, string UserId ) : void
LogRoleDeleted ( AuthorizationRole Role, string UserId ) : void

Protected Methods

Method Description
LoadEventTypes ( ) : List

Private Methods

Method Description
Log ( EventTypeIds EventTypeId ) : void

Method Details

LoadEventTypes() protected method

protected LoadEventTypes ( ) : List
return List

LogAccessDenied() public static method

public static LogAccessDenied ( string UserId, string Resource, string Reason ) : void
UserId string
Resource string
Reason string
return void

LogAdministratorSubjectsAdded() public static method

public static LogAdministratorSubjectsAdded ( string UserId, IEnumerable SubjectsAdded ) : void
UserId string
SubjectsAdded IEnumerable
return void

LogAdministratorSubjectsRemoved() public static method

public static LogAdministratorSubjectsRemoved ( string UserId, IEnumerable SubjectsRemoved ) : void
UserId string
SubjectsRemoved IEnumerable
return void

LogRoleConfiguredClaimsAdded() public static method

public static LogRoleConfiguredClaimsAdded ( AuthorizationRole Role, string UserId, IEnumerable ClaimsAdded ) : void
Role Disco.Models.Repository.AuthorizationRole
UserId string
ClaimsAdded IEnumerable
return void

LogRoleConfiguredClaimsRemoved() public static method

public static LogRoleConfiguredClaimsRemoved ( AuthorizationRole Role, string UserId, IEnumerable ClaimsRemoved ) : void
Role Disco.Models.Repository.AuthorizationRole
UserId string
ClaimsRemoved IEnumerable
return void

LogRoleConfiguredRenamed() public static method

public static LogRoleConfiguredRenamed ( AuthorizationRole Role, string UserId, string OldRoleName ) : void
Role Disco.Models.Repository.AuthorizationRole
UserId string
OldRoleName string
return void

LogRoleConfiguredSubjectsAdded() public static method

public static LogRoleConfiguredSubjectsAdded ( AuthorizationRole Role, string UserId, IEnumerable SubjectsAdded ) : void
Role Disco.Models.Repository.AuthorizationRole
UserId string
SubjectsAdded IEnumerable
return void

LogRoleConfiguredSubjectsRemoved() public static method

public static LogRoleConfiguredSubjectsRemoved ( AuthorizationRole Role, string UserId, IEnumerable SubjectsRemoved ) : void
Role Disco.Models.Repository.AuthorizationRole
UserId string
SubjectsRemoved IEnumerable
return void

LogRoleCreated() public static method

public static LogRoleCreated ( AuthorizationRole Role, string UserId ) : void
Role Disco.Models.Repository.AuthorizationRole
UserId string
return void

LogRoleDeleted() public static method

public static LogRoleDeleted ( AuthorizationRole Role, string UserId ) : void
Role Disco.Models.Repository.AuthorizationRole
UserId string
return void