onHTTPAuthChallenge:forUser:withRealm:(NSString *, NSString *, NSString *) method

Called when ODPHTTPAuthChallengeListenerDelegate protocol is implemented by the class.

Syntax

public virtual void onHTTPAuthChallenge:forUser:withRealm: (NSString * host, NSString * userName, NSString * realm)

Usage

User Name contains the previous value on input. 
 Usage

 -(void) onHTTPAuthChallenge:(NSString*)host forUser:(NSString*)userName withRealm:(NSString*)realm
{
     NSLog("%@--%@--%", host, userName, realm);
     [ODPClientListeners httpAuthChallengeResult:YES forUser:"mobile" withPassword:@"Ntwatch"];
}