ObjXMPP  Diff

Differences From Artifact [9b4707618f]:

To Artifact [40cd53e30c]:


24
25
26
27
28
29
30
31
32


33
34
35
36
37
38
39
40



41
42
43
44
45
46
47
24
25
26
27
28
29
30


31
32
33
34
35
36
37



38
39
40
41
42
43
44
45
46
47







-
-
+
+





-
-
-
+
+
+







# include "config.h"
#endif

#import "XMPPPLAINAuth.h"
#import "XMPPExceptions.h"

@implementation XMPPPLAINAuth
+ PLAINAuthWithAuthcid: (OFString*)authcid
	      password: (OFString*)password
+ (instancetype)PLAINAuthWithAuthcid: (OFString*)authcid
			    password: (OFString*)password
{
	return [[[self alloc] initWithAuthcid: authcid
				     password: password] autorelease];
}

+ PLAINAuthWithAuthzid: (OFString*)authzid
	       authcid: (OFString*)authcid
	      password: (OFString*)password
+ (instancetype)PLAINAuthWithAuthzid: (OFString*)authzid
			     authcid: (OFString*)authcid
			    password: (OFString*)password
{
	return [[[self alloc] initWithAuthzid: authzid
				      authcid: authcid
				     password: password] autorelease];
}

- (OFDataArray*)initialMessage