Interface that authenticates requests to the administration APIs of Webpagebytes CMS.
The interface completely abstracts how the authentication is implemented, can be either an application specific implementation
or it can use a 3rd party authentication solution (i.e. Google, Yahoo, Facebook,...).
Method that checks if a request is authenticated. A typical implementation will use a HTTP session cookie to track and
validate the request(s).
request - The HTTP request that needs to be authenticated
A WPBAuthenticationResult instance. If the userIdentifier member of WPBAuthenticationResult instance that is returned is
not set then the request will be interpreted by the CMS engine as not authenticated, in this case the web browser will be
redirected to the loginLink member value of the same instance.
If the return value is null then the CMS engine will treat the request as authenticated.
The CMS administration interface will display the authenticated user as the value of the userIdentifier member of the returned instance.