Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Net Namespace / IServerAuthenticationProvider Interface / PreProcessRequest Method
The entry URL of the server
The web client that is about to be used to execute the request. It can't be used by the authentication provider to make requests.
The resource URL (with query string) specified by the client.
Indicates if the request being processed supports authentication or not.

PreProcessRequest Method (IServerAuthenticationProvider)
Perform per-request authentication processing.
Syntax
'Declaration
 
Sub PreProcessRequest( _
   ByVal entryUri As Uri, _
   ByVal client As WebClient, _
   ByVal resourceUrl As String, _
   ByVal requestSupportsAuthentication As Boolean _
) 
 

Parameters

entryUri
The entry URL of the server
client
The web client that is about to be used to execute the request. It can't be used by the authentication provider to make requests.
resourceUrl
The resource URL (with query string) specified by the client.
requestSupportsAuthentication
Indicates if the request being processed supports authentication or not.
Remarks
If the request doesn't support authentication, it's a best practice to not provide any authentication information.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also