Interface ISecurityFramework
- Namespace
- InSite.Domain.Foundations
- Assembly
- Shift.Sdk.dll
public interface ISecurityFramework : IIdentity, IPrincipal, ISimplePrincipal
- Inherited Members
-
- Extension Methods
-
Properties
Claims
ClaimList Claims { get; set; }
Property Value
- ClaimList
Groups
GroupList Groups { get; set; }
Property Value
- GroupList
HasAccessToAllCompanies
bool HasAccessToAllCompanies { get; }
Property Value
- bool
Impersonator
Impersonator Impersonator { get; set; }
Property Value
- Impersonator
IsImpersonating
bool IsImpersonating { get; }
Property Value
- bool
Language
Property Value
- string
Organization
OrganizationState Organization { get; set; }
Property Value
- OrganizationState
Organizations
OrganizationList Organizations { get; set; }
Property Value
- OrganizationList
Person
Person Person { get; set; }
Property Value
- Person
Persons
PersonList Persons { get; set; }
Property Value
- PersonList
User
Property Value
- User
Methods
ChangeLanguage(string)
string ChangeLanguage(string language)
Parameters
language string
Returns
- string
IsActionAuthorized(string)
bool IsActionAuthorized(string actionName)
Parameters
actionName string
Returns
- bool
IsGranted(Guid?)
bool IsGranted(Guid? action)
Parameters
action Guid?
Returns
- bool
IsGranted(Guid?, PermissionOperation)
bool IsGranted(Guid? action, PermissionOperation operation)
Parameters
action Guid?
operation PermissionOperation
Returns
- bool
IsGranted(string)
bool IsGranted(string action)
Parameters
action string
Returns
- bool
IsGranted(string, PermissionOperation)
bool IsGranted(string action, PermissionOperation operation)
Parameters
action string
operation PermissionOperation
Returns
- bool
IsInGroup(Guid)
bool IsInGroup(Guid group)
Parameters
group Guid
Returns
- bool
IsInGroup(string)
bool IsInGroup(string group)
Parameters
group string
Returns
- bool
IsInGroup(string[])
bool IsInGroup(string[] groups)
Parameters
groups string[]
Returns
- bool