26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
-
-
+
+
-
-
-
+
+
+
|
#endif
#import "XMPPAuthenticator.h"
@implementation XMPPAuthenticator
@synthesize authzid = _authzid, authcid = _authcid, password = _password;
- initWithAuthcid: (OFString *)authcid
password: (OFString *)password
- (instancetype)initWithAuthcid: (OFString *)authcid
password: (OFString *)password
{
return [self initWithAuthzid: nil
authcid: authcid
password: password];
}
- initWithAuthzid: (OFString *)authzid
authcid: (OFString *)authcid
password: (OFString *)password
- (instancetype)initWithAuthzid: (OFString *)authzid
authcid: (OFString *)authcid
password: (OFString *)password
{
self = [super init];
@try {
_authzid = [authzid copy];
_authcid = [authcid copy];
_password = [password copy];
|