forked from jshiffer/go-xmpp
Add commit that Client.Mechanism is the SCRAM mechanism used.
This commit is contained in:
parent
464fbe04ef
commit
4be597a84a
8
xmpp.go
8
xmpp.go
@ -92,10 +92,10 @@ type Client struct {
|
|||||||
shutdown bool // Variable signalling that the stream will be closed
|
shutdown bool // Variable signalling that the stream will be closed
|
||||||
p *xml.Decoder
|
p *xml.Decoder
|
||||||
stanzaWriter io.Writer
|
stanzaWriter io.Writer
|
||||||
LimitMaxBytes int // Maximum stanza size (XEP-0478: Stream Limits Advertisement)
|
LimitMaxBytes int // Maximum stanza size (XEP-0478: Stream Limits Advertisement)
|
||||||
LimitIdleSeconds int // Maximum idle seconds (XEP-0478: Stream Limits Advertisement)
|
LimitIdleSeconds int // Maximum idle seconds (XEP-0478: Stream Limits Advertisement)
|
||||||
Mechanism string
|
Mechanism string // SCRAM mechanism used.
|
||||||
Fast Fast // XEP-0484 FAST Token, mechanism and expiry.
|
Fast Fast // XEP-0484 FAST Token, mechanism and expiry.
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) JID() string {
|
func (c *Client) JID() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user