CSLA permissions policy provider. More...
Public Member Functions | |
CslaPermissionsPolicyProvider (IOptions< AuthorizationOptions > options) | |
Creates an instance of the type More... | |
Task< AuthorizationPolicy > | GetDefaultPolicyAsync () |
Gets the default policy More... | |
Task< AuthorizationPolicy > | GetFallbackPolicyAsync () |
Gets the fallback policy More... | |
Task< AuthorizationPolicy > | GetPolicyAsync (string policyName) |
Gets the authorization policy More... | |
CSLA permissions policy provider.
Definition at line 19 of file CslaPermissionsPolicyProvider.cs.
Csla.Blazor.CslaPermissionsPolicyProvider.CslaPermissionsPolicyProvider | ( | IOptions< AuthorizationOptions > | options | ) |
Creates an instance of the type
options | Authorization options |
Definition at line 27 of file CslaPermissionsPolicyProvider.cs.
Task< AuthorizationPolicy > Csla.Blazor.CslaPermissionsPolicyProvider.GetDefaultPolicyAsync | ( | ) |
Gets the default policy
Task< AuthorizationPolicy > Csla.Blazor.CslaPermissionsPolicyProvider.GetFallbackPolicyAsync | ( | ) |
Gets the fallback policy
Task< AuthorizationPolicy > Csla.Blazor.CslaPermissionsPolicyProvider.GetPolicyAsync | ( | string | policyName | ) |
Gets the authorization policy
policyName | String representing the policy |
Gets a CSLA permissions policy if the policy name corresponds to a CSLA policy, otherwise gets a policy from the fallback provider.
Definition at line 58 of file CslaPermissionsPolicyProvider.cs.