Method | Description | |
---|---|---|
FilterToAllowedDomains ( IEnumerable |
This will take a list of domains and make sure that they are either equal to or a subdomain of the allowed domains in cloudflare.
|
|
GetDomainsFromCloudflareZones ( ) : IEnumerable |
Gets the domains from each cloudflare zone.
|
|
GetUrlsForNode ( IContent content, bool includeDescendants = false ) : List |
We want to get the domains associated with the content node. This includes getting the allowed domains on the node as well as searching up the tree to get the parents nodes since they are inherited.
|
|
GetUrlsForNode ( int contentId, bool includeDescendants = false ) : List |
Method | Description | |
---|---|---|
GetAllowedZonesAndDomains ( ) : IEnumerable |
This method will grab the list of zones from cloudflare. It will then check to make sure that the zone has some corresponding hostnames in umbraco. If it does, we will save the domain names & the zones.
|
|
GetDescendantsDomains ( List |
||
RecursivelyGetParentsDomains ( List |
||
UmbracoFlareDomainManager ( ) : System |
public FilterToAllowedDomains ( IEnumerable |
||
domains | IEnumerable |
The domains to filter. |
return | IEnumerable |
public GetDomainsFromCloudflareZones ( ) : IEnumerable |
||
return | IEnumerable |
public GetUrlsForNode ( IContent content, bool includeDescendants = false ) : List |
||
content | IContent | |
includeDescendants | bool | |
return | List |
public GetUrlsForNode ( int contentId, bool includeDescendants = false ) : List |
||
contentId | int | |
includeDescendants | bool | |
return | List |