mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Improve authentication handling ... only send authentication information in
response to a challenge from the server. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23123 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5ee10ff9c7
commit
a35bf27851
5 changed files with 322 additions and 266 deletions
|
@ -82,8 +82,10 @@
|
|||
/*
|
||||
* Return the object for the specified credential/protection space.
|
||||
*/
|
||||
+ (GSHTTPAuthentication *) digestWithCredential: (NSURLCredential*)credential
|
||||
inProtectionSpace: (NSURLProtectionSpace*)space;
|
||||
+ (GSHTTPAuthentication *) authenticationWithCredential:
|
||||
(NSURLCredential*)credential
|
||||
inProtectionSpace: (NSURLProtectionSpace*)space;
|
||||
|
||||
/*
|
||||
* Create/return the protection space involved in the specified authentication
|
||||
* header returned in a response to a request sent to the URL.
|
||||
|
@ -109,7 +111,7 @@
|
|||
path: (NSString*)path;
|
||||
- (NSURLCredential *) credential;
|
||||
- (id) initWithCredential: (NSURLCredential*)credential
|
||||
inProtectionSpace: (NSURLProtectionSpace*)space;
|
||||
inProtectionSpace: (NSURLProtectionSpace*)space;
|
||||
- (NSURLProtectionSpace *) space;
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue