MCPcopy Create free account
hub / github.com/dolthub/doltgresql / MessageBare

Method MessageBare

server/authentication_scram.go:322–324  ·  view source on GitHub ↗

MessageBare returns the message without the GS2 header.

()

Source from the content-addressed store, hash-verified

320
321// MessageBare returns the message without the GS2 header.
322func (si SASLInitial) MessageBare() []byte {
323 return bytes.TrimPrefix(si.RawData, si.base64HeaderBytes())
324}
325
326// base64HeaderBytes returns the GS2 header encoded as bytes.
327func (si SASLInitial) base64HeaderBytes() []byte {

Callers 1

verifySASLClientProofFunction · 0.80

Calls 1

base64HeaderBytesMethod · 0.95

Tested by

no test coverage detected