| 1 |
package xmpp |
| 2 |
|
| 3 |
const ( |
| 4 |
// Version is current go-xmpp software version. |
| 5 |
Version = "0.3.7" |
| 6 |
|
| 7 |
// HT_SHA_256_ENDP used in XEP-0484: Fast Authentication Streamlining Tokens, https://xmpp.org/extensions/xep-0484.html |
| 8 |
HT_SHA_256_ENDP = "HT-SHA-256-ENDP" |
| 9 |
// HT_SHA_256_EXPR used in XEP-0484: Fast Authentication Streamlining Tokens, https://xmpp.org/extensions/xep-0484.html |
| 10 |
HT_SHA_256_EXPR = "HT-SHA-256-EXPR" |
| 11 |
// HT_SHA_256_NONE used in XEP-0484: Fast Authentication Streamlining Tokens, https://xmpp.org/extensions/xep-0484.html |
| 12 |
HT_SHA_256_NONE = "HT-SHA-256-NONE" |
| 13 |
// HT_SHA_256_UNIQ used in XEP-0484: Fast Authentication Streamlining Tokens, https://xmpp.org/extensions/xep-0484.html |
| 14 |
HT_SHA_256_UNIQ = "HT-SHA-256-UNIQ" |
| 15 |
|
| 16 |
// IQTypeError represents iq response type error. |
| 17 |
IQTypeError = "error" |
| 18 |
// IQTypeGet represents iq request type get. |
| 19 |
IQTypeGet = "get" |
| 20 |
// IQTypeResult represents iq response type result. |
| 21 |
IQTypeResult = "result" |
| 22 |
// IQTypeSet represents iq request type set. |
| 23 |
IQTypeSet = "set" |
| 24 |
|
| 25 |
// SCRAM_SHA_1_PLUS used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 26 |
SCRAM_SHA_1_PLUS = "SCRAM-SHA-1-PLUS" |
| 27 |
// SCRAM_SHA_1 used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 28 |
SCRAM_SHA_1 = "SCRAM-SHA-1" |
| 29 |
// SCRAM_SHA_256_PLUS used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 30 |
SCRAM_SHA_256_PLUS = "SCRAM-SHA-256-PLUS" |
| 31 |
// SCRAM_SHA_256 used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 32 |
SCRAM_SHA_256 = "SCRAM-SHA-256" |
| 33 |
// SCRAM_SHA_512_PLUS used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 34 |
SCRAM_SHA_512_PLUS = "SCRAM-SHA-512-PLUS" |
| 35 |
// SCRAM_SHA_512 used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 36 |
SCRAM_SHA_512 = "SCRAM-SHA-512" |
| 37 |
// UPGR_SCRAM_SHA_256 used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 38 |
UPGR_SCRAM_SHA_256 = "UPGR-SCRAM-SHA-256" |
| 39 |
// UPGR_SCRAM_SHA_512 used in SASL auth process, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 40 |
UPGR_SCRAM_SHA_512 = "UPGR-SCRAM-SHA-512" |
| 41 |
|
| 42 |
// XMPPNS_AVATAR_PEP_DATA represents xml namespace for https://xmpp.org/extensions/xep-0084.html#process-pubdata |
| 43 |
// (User Publishes Data). |
| 44 |
XMPPNS_AVATAR_PEP_DATA = "urn:xmpp:avatar:data" |
| 45 |
// XMPPNS_AVATAR_PEP_METADATA represents xml namespace for https://xmpp.org/extensions/xep-0084.html#process-pubmeta |
| 46 |
// (User Publishes Metadata Notification). |
| 47 |
XMPPNS_AVATAR_PEP_METADATA = "urn:xmpp:avatar:metadata" |
| 48 |
// XMPPNS_BIND_0 used in bunding resource identifier to a session as described in https://xmpp.org/extensions/xep-0386.html |
| 49 |
XMPPNS_BIND_0 = "urn:xmpp:bind:0" |
| 50 |
// XMPPNS_CLIENT namespace is a foundational XML namespace used in the Extensible Messaging and Presence Protocol |
| 51 |
// (XMPP) to scope the core client-to-server (C2S) communication stanzas. |
| 52 |
XMPPNS_CLIENT = "jabber:client" |
| 53 |
// XMPPNS_DISCO_INFO namespace used in Service Discovery protocol, https://xmpp.org/extensions/xep-0030.html |
| 54 |
XMPPNS_DISCO_INFO = "http://jabber.org/protocol/disco#info" |
| 55 |
// XMPPNS_DISCO_ITEMS namespace used in item discover queries, described https://xmpp.org/extensions/xep-0030.html#items |
| 56 |
XMPPNS_DISCO_ITEMS = "http://jabber.org/protocol/disco#items" |
| 57 |
// XMPPNS_FAST_0 namespace used in XEP-0484: Fast Authentication Streamlining Tokens, https://xmpp.org/extensions/xep-0484.html |
| 58 |
XMPPNS_FAST_0 = "urn:xmpp:fast:0" |
| 59 |
// XMPPNS_HTTP_UPLOAD_0 namespace used in XEP-0363: HTTP File Upload, https://xmpp.org/extensions/xep-0363.html |
| 60 |
XMPPNS_HTTP_UPLOAD_0 = "urn:xmpp:http:upload:0" |
| 61 |
// XMPPNS_IQ_VERSION namespace used in XEP-0092: Software Version, https://xmpp.org/extensions/xep-0092.html |
| 62 |
XMPPNS_IQ_VERSION = "jabber:iq:version" |
| 63 |
// XMPPNS_MUC namespace used in XEP-0045: Multi-User Chat, https://xmpp.org/extensions/xep-0045.html |
| 64 |
XMPPNS_MUC = "http://jabber.org/protocol/muc" |
| 65 |
// XMPPNS_MUC_USER namespace used in XEP-0045: Multi-User Chat, https://xmpp.org/extensions/xep-0045.html |
| 66 |
XMPPNS_MUC_USER = "http://jabber.org/protocol/muc#user" |
| 67 |
// XMPPNS_PING namespace used in XEP-0199: XMPP Ping, https://xmpp.org/extensions/xep-0199.html |
| 68 |
XMPPNS_PING = "urn:xmpp:ping" |
| 69 |
// XMPPNS_PUBSUB_EVENT namespace used in XEP-0060: Publish-Subscribe, https://xmpp.org/extensions/xep-0060.html |
| 70 |
XMPPNS_PUBSUB_EVENT = "http://jabber.org/protocol/pubsub#event" |
| 71 |
// XMPPNS_PUBSUB namespace used in XEP-0060: Publish-Subscribe, https://xmpp.org/extensions/xep-0060.html |
| 72 |
XMPPNS_PUBSUB = "http://jabber.org/protocol/pubsub" |
| 73 |
// XMPPNS_SASL_2 namespace used during SASL auth, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 74 |
XMPPNS_SASL_2 = "urn:xmpp:sasl:2" |
| 75 |
// XMPPNS_SASL_CB_0 namespace used during SASL auth, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 76 |
// and XEP-0440: SASL Channel-Binding Type Capability, https://xmpp.org/extensions/xep-0440.html |
| 77 |
XMPPNS_SASL_CB_0 = "urn:xmpp:sasl-cb:0" |
| 78 |
// XMPPNS_SASL_UPGRADE_0 namespace used during SASL auth, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 79 |
// and XEP-0480: SASL Upgrade Tasks, https://xmpp.org/extensions/xep-0480.html |
| 80 |
XMPPNS_SASL_UPGRADE_0 = "urn:xmpp:sasl:upgrade:0" |
| 81 |
// XMPPNS_XMPP_SASL namespace used during SASL auth, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 82 |
XMPPNS_XMPP_SASL = "urn:ietf:params:xml:ns:xmpp-sasl" |
| 83 |
// XMPPNS_SCRAM_UPGRADE_0 namespace used during SASL auth, as described in XEP-0388: Extensible SASL Profile, https://xmpp.org/extensions/xep-0388.html |
| 84 |
// and XEP-0480: SASL Upgrade Tasks, https://xmpp.org/extensions/xep-0480.html |
| 85 |
XMPPNS_SCRAM_UPGRADE_0 = "urn:xmpp:scram-upgrade:0" |
| 86 |
// XMPPNS_SID_0 namespace used in XEP-0359: Unique and Stable Stanza IDs, https://xmpp.org/extensions/xep-0359.html |
| 87 |
// to implement unique and relible id. |
| 88 |
XMPPNS_SID_0 = "urn:xmpp:sid:0" |
| 89 |
// XMPPNS_STREAM namespace used in description of clients xml data stream as described in XEP-0044: Full Namespace |
| 90 |
// Support for XML Streams, https://xmpp.org/extensions/xep-0044.html |
| 91 |
XMPPNS_STREAM = "http://etherx.jabber.org/streams" |
| 92 |
// XMPPNS_STREAM_LIMITS_0 namespace used during stream advertisement limits (on early connection init stage) as |
| 93 |
// described in XEP-0478: Stream Limits Advertisement, https://xmpp.org/extensions/xep-0478.html |
| 94 |
XMPPNS_STREAM_LIMITS_0 = "urn:xmpp:stream-limits:0" |
| 95 |
// XMPPNS_TIME namespace used in response to information query for client local time, as described in XEP-0202: Entity Time, https://xmpp.org/extensions/xep-0202.html |
| 96 |
XMPPNS_TIME = "urn:xmpp:time" |
| 97 |
// XMPPNS_XMPP_TLS namespace used during session initialization to start tls session, as described in https://www.ietf.org/rfc/rfc6120.txt |
| 98 |
XMPPNS_XMPP_TLS = "urn:ietf:params:xml:ns:xmpp-tls" |
| 99 |
// XMPPNS_XMPP_BIND namespace used during session initialization to start tls session, as described in https://www.ietf.org/rfc/rfc6120.txt |
| 100 |
XMPPNS_XMPP_BIND = "urn:ietf:params:xml:ns:xmpp-bind" |
| 101 |
// XMPPNS_XMPP_SESSION namespace used during xmpp session establisment process, as described in https://www.ietf.org/rfc/rfc6121.txt |
| 102 |
XMPPNS_XMPP_SESSION = "urn:ietf:params:xml:ns:xmpp-session" |
| 103 |
) |