DEPRECATED: Diffusion iOS Classic API  5.9.4
 All Data Structures Files Functions Variables Enumerations Enumerator Properties Macros Pages
DFCredentials.h
1 /*
2  * DFCredentials.h
3  *
4  * Created by dhudson on 22/05/2009 - Diffusion 5.9.4_01
5  * Copyright © 2009, 2015 Push Technology Ltd. All rights reserved.
6  */
7 
8 /**
9  This class represents the credential details passed to the DFClient class.
10  */
11 @interface DFCredentials : NSObject
12 
13 @property(strong,nonatomic) NSString *username; /**<< The username token */
14 @property(strong,nonatomic) NSString *password; /**<< The password token */
15 
16 /**
17  Initialiase a DFCredentials object.
18  @param username Username for this object
19  @param password Password for this object
20  @return An initialised DFCredentials object containing the given crendentials tokens
21  @deprecated in favor of [initWithUsername:andPassword:]
22  */
23 -(id) initWithUsernameAndPassword:(NSString *)username password: (NSString *)password __attribute__((deprecated));
24 
25 /**
26  Initialiase a DFCredentials object.
27  @param username Username for this object
28  @param password Password for this object
29  @return An initialised DFCredentials object containing the given crendentials tokens
30  */
31 -(id) initWithUsername:(NSString *)username andPassword: (NSString *)password;
32 
33 
34 @end