Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
ayyrk #1
Member since Jul 2007 · 92 posts
Group memberships: Members, Premium
Show profile · Link to this post
Subject: right way to handle not-authorized
When I send the wrong password I receive <failure xmlns="run:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>

Is there an Event for this? Or what is the right way to detect the authorization failure.

Thanks!
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by ayyrk:
When I send the wrong password I receive <failure xmlns="run:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>

Is there an Event for this? Or what is the right way to detect the authorization failure.
yes there is the OnAuthError event.
Look also in the C# MiniClient example how to handle the AuthError.

Alex
Avatar
ayyrk #3
Member since Jul 2007 · 92 posts
Group memberships: Members, Premium
Show profile · Link to this post
I was looking in the WM5 mini client and didn't see it. I knew it had to be in the SDK someplace, thanks for pointing it out.
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