Ben Copsey

Update iPhone sample to use new delegate auth api

@@ -79,11 +79,11 @@ @@ -79,11 +79,11 @@
79 if ([self requestRequiringAuthentication]) { 79 if ([self requestRequiringAuthentication]) {
80 [[self requestRequiringAuthentication] setUsername:[[alertView textFieldAtIndex:0] text]]; 80 [[self requestRequiringAuthentication] setUsername:[[alertView textFieldAtIndex:0] text]];
81 [[self requestRequiringAuthentication] setPassword:[[alertView textFieldAtIndex:1] text]]; 81 [[self requestRequiringAuthentication] setPassword:[[alertView textFieldAtIndex:1] text]];
82 - [[self requestRequiringAuthentication] retryWithAuthentication]; 82 + [[self requestRequiringAuthentication] retryUsingSuppliedCredentials];
83 } else if ([self requestRequiringProxyAuthentication]) { 83 } else if ([self requestRequiringProxyAuthentication]) {
84 [[self requestRequiringProxyAuthentication] setProxyUsername:[[alertView textFieldAtIndex:0] text]]; 84 [[self requestRequiringProxyAuthentication] setProxyUsername:[[alertView textFieldAtIndex:0] text]];
85 [[self requestRequiringProxyAuthentication] setProxyPassword:[[alertView textFieldAtIndex:1] text]]; 85 [[self requestRequiringProxyAuthentication] setProxyPassword:[[alertView textFieldAtIndex:1] text]];
86 - [[self requestRequiringProxyAuthentication] retryWithAuthentication]; 86 + [[self requestRequiringProxyAuthentication] retryUsingSuppliedCredentials];
87 } 87 }
88 } else { 88 } else {
89 [[self requestRequiringAuthentication] cancelAuthentication]; 89 [[self requestRequiringAuthentication] cancelAuthentication];