Skip to main content

LgAuthorizeView

Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Category: Policy
Inherits from: ComponentBase

Component used to define the 'PolicyVisible' and 'PolicyEdit' properties and apply the defined policies to children

Parameters​

ParameterTypeDescription
AuthorizedRenderFragment<AuthenticationState>The content that will be displayed if the user is authorized. If you specify a value for this parameter, do not also specify a value for ChildContent.
AuthorizingRenderFragmentThe content that will be displayed while asynchronous authorization is in progress.
ChildContentRenderFragmentThe content that will be displayed if the user is authorized.
CssClassstringGets or sets the DIV CSS class
NotAuthorizedRenderFragment<AuthenticationState>The content that will be displayed if the user is not authorized.
PolicyEditstringGet or set the policy wich allow to edit a control
PolicyVisiblestringGet or set the policy wich allow to show a control
ShowDivbool?Indicate if the LgAuthorizeView should encapsulate it's content in a div

Cascading parameters​

ParameterTypeDescription
ParentAuthorizeViewLgAuthorizeViewTo retrieve policy defined by ParentAuthorizeView