|
Nabû 1.0.0
Standardizing .NET developments with abstractions
|
Inheritance diagram for Humbaba.Authorization.Services.IHumbabaAuthorizationService:Public Member Functions | |
| Task< HumbabaAuthorizationResult > | AuthorizeAsync (IHumbabaAuthorize[] requirements, ClaimsPrincipal? user=null) |
| check if all requirements are authorized for user | |
| Task< HumbabaAuthorizationResult > | AuthorizeAsync< T > (string? resourceValue=null, ClaimsPrincipal? user=null) |
| check if the right T(resource) is authorized for user | |
| Task< IEnumerable< string > > | GetAuthorizedResources< T > (ClaimsPrincipal? user=null) |
| Return all resource identifiers where the right T(resource) is authorized for user. | |
| Task< IEnumerable< string > > | GetAllResources () |
| Return identifiers of all resource available in application. | |
| Task< HumbabaAuthorizationResult > Humbaba.Authorization.Services.IHumbabaAuthorizationService.AuthorizeAsync | ( | IHumbabaAuthorize[] | requirements, |
| ClaimsPrincipal? | user = null ) |
check if all requirements are authorized for user
| requirements | |
| user |
Implemented in Humbaba.Authorization.Services.AbstractHumbabaAuthorizationService.
| Task< HumbabaAuthorizationResult > Humbaba.Authorization.Services.IHumbabaAuthorizationService.AuthorizeAsync< T > | ( | string? | resourceValue = null, |
| ClaimsPrincipal? | user = null ) |
check if the right T(resource) is authorized for user
| resourceValue | |
| user |
| T |
Implemented in Humbaba.Authorization.Services.AbstractHumbabaAuthorizationService.
| T | : | IHumbabaAuthorize | |
| T | : | new() |
| Task< IEnumerable< string > > Humbaba.Authorization.Services.IHumbabaAuthorizationService.GetAllResources | ( | ) |
Return identifiers of all resource available in application.
Implemented in Humbaba.Authorization.Services.AbstractHumbabaAuthorizationService.
| Task< IEnumerable< string > > Humbaba.Authorization.Services.IHumbabaAuthorizationService.GetAuthorizedResources< T > | ( | ClaimsPrincipal? | user = null | ) |
Return all resource identifiers where the right T(resource) is authorized for user.
| user |
| T |
Implemented in Humbaba.Authorization.Services.AbstractHumbabaAuthorizationService.
| T | : | IHumbabaAuthorize | |
| T | : | new() |