123456789101112131415161718192021222324252627 |
- //
- // Credentials.h
- // iOS-URLDownloader
- //
- // Created by Kristijan Sedlak on 7/21/11.
- // Copyright 2011 AppStrides. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @interface URLCredential : NSObject
- {
- NSString *username;
- NSString *password;
- NSURLCredentialPersistence persistance;
- }
- @property(retain) NSString *username;
- @property(retain) NSString *password;
- @property(assign) NSURLCredentialPersistence persistance;
- + (id)credentialWithUsername:(NSString *)user andPassword:(NSString *)pass;
- - (id)initWithDefaults;
- @end
|