Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
vinodmalani #1
Member since Sep 2007 · 4 posts · Location: India
Group memberships: Members
Show profile · Link to this post
Subject: How to change authentication mode from md5 to plain text
Please suggest me which .cs file need to change authentication mode from md5 to plain text.

I am not able to authenticate using md-5.
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you can overwrite the automatic selection in your code:

  1. private void XmppCon_OnSaslStart(object sender, SaslEventArgs args)
  2.  {
  3.        // You can define the SASL mechanism here when needed, or implement your own SASL mechanisms
  4.        // for authentication
  5.            
  6.        args.Auto = false;
  7.        args.Mechanism = agsXMPP.protocol.sasl.Mechanism.GetMechanismName(agsXMPP.protocol.sasl.MechanismType.PLAIN);           
  8.  }
Avatar
vinodmalani #3
Member since Sep 2007 · 4 posts · Location: India
Group memberships: Members
Show profile · Link to this post
Thank you
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS