configurators.BaseURLBuilder
Method Summary | |
public BaseURLBuilder |
init()
Initializes and returns an instance of this object. |
public string |
createDynamicURL([string action], [string queryString=""])
Constructs a URL for use within FuseGuard Manager |
public string |
createStaticURL([string path])
Constructs a URL for FuseGuard Manager static assets (js, css, img, etc) |
public any |
getDefaultContentSecurityPolicy()
Returns the content security policy header value to return. If the result of createStaticURL is of another domain (eg a CDN) then this value must be updated. See content-security-policy.com for more info. |
public boolean |
isCurrentAction([string action])
|
Method Detail |
public string createDynamicURL([string action], [string queryString=""])
[string action]
- The path name, eg user[string queryString=""]
- This value should be URL Encoded alreadypublic string createStaticURL([string path])
[string path]
- The full path to the static css/js file, eg: views/style/style.csspublic any getDefaultContentSecurityPolicy()
public BaseURLBuilder init()
public boolean isCurrentAction([string action])
[string action]