Class ContentSecurityPolicyPluginTypes
Represents the plugin-types of the Content Security Policy.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Http.Headers
Assembly: IRM.AspNetCore.Mvc.dll
Syntax
public class ContentSecurityPolicyPluginTypes : ContentSecurityPolicyDirective
Constructors
ContentSecurityPolicyPluginTypes()
Creates a new instance of ContentSecurityPolicyPluginTypes.
Declaration
public ContentSecurityPolicyPluginTypes()
Properties
AllowedMediaTypes
Gets a collection of allowed media types.
Declaration
public ICollection<ContentSecurityPolicyMediaType> AllowedMediaTypes { get; }
Property Value
System.Collections.Generic.ICollection<ContentSecurityPolicyMediaType>
|
Methods
GetParts(IContentSecurityPolicyNonceService)
Gets all part strings that should be in the directive.
Declaration
protected override ICollection<string> GetParts(IContentSecurityPolicyNonceService nonceService)
Parameters
IContentSecurityPolicyNonceService
nonceService
The service used to create a nonce per request. |
Returns
System.Collections.Generic.ICollection<String>
A collection of part strings. |