C# Class Todo.Services.UiClaims.UiClaimsAuthorizationManager

Inheritance: UiClaimsServiceAuthorizationManager
ファイルを表示 Open project: ChristianWeyer/tUdUs

Public Methods

Method Description
CheckAccess ( System.Security.Claims.AuthorizationContext context ) : bool
GetUiClaims ( IPrincipal principal ) : UiClaimsData
GetUiClaimsMetadata ( ) : UiClaimsMetadata

Private Methods

Method Description
AuthorizeDiagnosticsAccess ( string operation, ClaimsIdentity identity ) : bool
AuthorizeTodoItemsAccess ( string operation, ClaimsIdentity identity ) : bool
GetCapabilities ( IPrincipal principal ) : Capabilities
GetConstraints ( IPrincipal principal ) : Constraints
GetItemsLimit ( string userName ) : double
GetNameValueClaims ( IPrincipal principal ) : NameValueClaims
GetRoles ( IPrincipal principal ) : Roles

Method Details

CheckAccess() public method

public CheckAccess ( System.Security.Claims.AuthorizationContext context ) : bool
context System.Security.Claims.AuthorizationContext
return bool

GetUiClaims() public method

public GetUiClaims ( IPrincipal principal ) : UiClaimsData
principal IPrincipal
return UiClaimsData

GetUiClaimsMetadata() public method

public GetUiClaimsMetadata ( ) : UiClaimsMetadata
return UiClaimsMetadata