Class AbpSecurityHeaderNonceHelper
Inherited Members
Namespace: Volo.Abp.AspNetCore.Security
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public static class AbpSecurityHeaderNonceHelper
Methods
GetScriptNonce(IHtmlHelper)
Declaration
public static string GetScriptNonce(this IHtmlHelper htmlHelper)
Parameters
Type | Name | Description |
---|---|---|
IHtmlHelper | htmlHelper |
Returns
Type | Description |
---|---|
string |
GetScriptNonceAttribute(IHtmlHelper)
Declaration
public static IHtmlContent GetScriptNonceAttribute(this IHtmlHelper htmlHelper)
Parameters
Type | Name | Description |
---|---|---|
IHtmlHelper | htmlHelper |
Returns
Type | Description |
---|---|
IHtmlContent |