Property | Type | Description |
---|---|---|
AllowAnonymous | Boolean | An attribute when set to True, marks controllers and actions to skip the Authorize attribute during authorization. Note: The default value is set to False. |
Policy | String or Text | Receives or sets the policy name that determines access to the resource. |
Roles | String or Text | Receives or sets a comma-delimited list of roles that are allowed to access the resource. |
Schemes | String or Text | Receives or sets a comma-delimited list of schemes from which the information is constructed. |
You can generate several combinations of the security settings. For more information on the security parameters, refer to the Microsoft documentation.