29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
-
+
-
+
-
-
+
+
|
@implementation XMPPEXTERNALAuth: XMPPAuthenticator
+ EXTERNALAuth
{
return [[[self alloc] initWithAuthcid: nil
password: nil] autorelease];
}
+ EXTERNALAuthWithAuthzid: (OFString*)authzid_
+ EXTERNALAuthWithAuthzid: (OFString*)authzid
{
return [[[self alloc] initWithAuthzid: authzid_
return [[[self alloc] initWithAuthzid: authzid
authcid: nil
password: nil] autorelease];
}
- (OFDataArray*)initialMessage
{
OFDataArray *message = [OFDataArray dataArray];
/* authzid */
if (authzid)
[message addItem: authzid];
if (_authzid)
[message addItem: _authzid];
return message;
}
@end
|