Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ben Copsey
2009-08-24 12:48:30 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
efaa61deeddb031b8642c517d92e3e80e03177c6
efaa61de
1 parent
7a20b032
Update iPhone sample to use new delegate auth api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
iPhone Sample/AuthenticationViewController.m
iPhone Sample/AuthenticationViewController.m
View file @
efaa61d
...
...
@@ -79,11 +79,11 @@
if
([
self
requestRequiringAuthentication
])
{
[[
self
requestRequiringAuthentication
]
setUsername
:[[
alertView
textFieldAtIndex
:
0
]
text
]];
[[
self
requestRequiringAuthentication
]
setPassword
:[[
alertView
textFieldAtIndex
:
1
]
text
]];
[[
self
requestRequiringAuthentication
]
retry
WithAuthentication
];
[[
self
requestRequiringAuthentication
]
retry
UsingSuppliedCredentials
];
}
else
if
([
self
requestRequiringProxyAuthentication
])
{
[[
self
requestRequiringProxyAuthentication
]
setProxyUsername
:[[
alertView
textFieldAtIndex
:
0
]
text
]];
[[
self
requestRequiringProxyAuthentication
]
setProxyPassword
:[[
alertView
textFieldAtIndex
:
1
]
text
]];
[[
self
requestRequiringProxyAuthentication
]
retry
WithAuthentication
];
[[
self
requestRequiringProxyAuthentication
]
retry
UsingSuppliedCredentials
];
}
}
else
{
[[
self
requestRequiringAuthentication
]
cancelAuthentication
];
...
...
Please
register
or
login
to post a comment