Class SASLMechanism

Basic XMPP SASL authentication steps: 1. Client authentication initialization, stanza sent to the server (Base64 encoded): 2. Server sends back to the client the challenge response (Base64 encoded) sample: realm=,nonce="OA6MG9tEQGm2hh",qop="auth",charset=utf-8,algorithm=md5-sess 3. The client responds back to the server (Base 64 encoded): sample: username=,realm=,nonce="OA6MG9tEQGm2hh", cnonce="OA6MHXh6VqTrRk",nc=00000001,qop=auth, digest-uri=, response=d388dad90d4bbd760a152321f2143af7, charset=utf-8, authzid= 4. The server evaluates if the user is present and contained in the REALM if successful it sends: (Base64 encoded) if not successful it sends: sample: cnNwYXV0aD1lYTQwZjYwMzM1YzQyN2I1NTI3Yjg0ZGJhYmNkZmZmZA==