CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Blazor.CslaPermissionsPolicyProvider Class Reference

CSLA permissions policy provider. More...

Inheritance diagram for Csla.Blazor.CslaPermissionsPolicyProvider:

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...
 

Detailed Description

CSLA permissions policy provider.

Definition at line 19 of file CslaPermissionsPolicyProvider.cs.

Constructor & Destructor Documentation

◆ CslaPermissionsPolicyProvider()

Csla.Blazor.CslaPermissionsPolicyProvider.CslaPermissionsPolicyProvider ( IOptions< AuthorizationOptions >  options)

Creates an instance of the type

Parameters
optionsAuthorization options

Definition at line 27 of file CslaPermissionsPolicyProvider.cs.

Member Function Documentation

◆ GetDefaultPolicyAsync()

Task< AuthorizationPolicy > Csla.Blazor.CslaPermissionsPolicyProvider.GetDefaultPolicyAsync ( )

Gets the default policy

Returns

◆ GetFallbackPolicyAsync()

Task< AuthorizationPolicy > Csla.Blazor.CslaPermissionsPolicyProvider.GetFallbackPolicyAsync ( )

Gets the fallback policy

Returns

◆ GetPolicyAsync()

Task< AuthorizationPolicy > Csla.Blazor.CslaPermissionsPolicyProvider.GetPolicyAsync ( string  policyName)

Gets the authorization policy

Parameters
policyNameString representing the policy
Returns

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.