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
{
return [self initWithAuthzid: nil
authcid: authcid
password: password];
}
- initWithAuthzid: (OFString*)authzid
authcid: (OFString*)authcid
password: (OFString*)password
{
self = [super init];
@try {
_authzid = [authzid copy];
_authcid = [authcid copy];
_password = [password copy];
|
|
|
|
|
|
|
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
{
return [self initWithAuthzid: nil
authcid: authcid
password: password];
}
- initWithAuthzid: (OFString *)authzid
authcid: (OFString *)authcid
password: (OFString *)password
{
self = [super init];
@try {
_authzid = [authzid copy];
_authcid = [authcid copy];
_password = [password copy];
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
[_authzid release];
[_authcid release];
[_password release];
[super dealloc];
}
- (OFDataArray*)initialMessage
{
return nil;
}
- (OFDataArray*)continueWithData: (OFDataArray*)challenge
{
return nil;
}
@end
|
|
|
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
[_authzid release];
[_authcid release];
[_password release];
[super dealloc];
}
- (OFDataArray *)initialMessage
{
return nil;
}
- (OFDataArray *)continueWithData: (OFDataArray *)challenge
{
return nil;
}
@end
|