aioxmpp
aioxmpp copied to clipboard
how to create `SASLProvider` for multiple token based sasl ?
like;-
<auth mechanism="X-Auth" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<user_token>sometokenhere</user_token>
<data_token>sometokenhere</data_token>
</auth>
That is not how normal SASL works. Is there any internet standard where this is specified?
nope, i've found this on pc game call warface. is this possible too create custom SASLProvider for this scenario ?
No. This is not SASL conformant, hence, you cannot write a SASL implementation.
You could still subclass aioxmpp.security_layer.SASLProvider and mimic its interface and see how far you get with that. However, this is no configuration which will be supported in any way.