1 // Copyright 2009 The Archiveopteryx Developers <info@aox.org>
2 
3 #ifndef PLAIN_H
4 #define PLAIN_H
5 
6 #include "mechanism.h"
7 
8 
9 class Plain
10     : public SaslMechanism
11 {
12 public:
13     Plain( EventHandler * );
14 
15     void parseResponse( const EString & );
16 
17     static bool parse( EString & authenticateId,
18                        EString & authorizeId,
19                        EString & pw,
20                        const EString & response );
21 };
22 
23 
24 #endif
25