Add commit that Client.Mechanism is the SCRAM mechanism used.

This commit is contained in:
Martin Dosch 2024-05-11 14:55:32 +02:00
parent 464fbe04ef
commit 4be597a84a

View File

@ -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 {