MCPcopy Create free account
hub / github.com/apecloud/myduckserver / MessageBare

Method MessageBare

pgserver/authentication_scram.go:341–343  ·  view source on GitHub ↗

MessageBare returns the message without the GS2 header.

()

Source from the content-addressed store, hash-verified

339}
340
341// MessageBare returns the message without the GS2 header.
342func (si SASLInitial) MessageBare() []byte {
343 return bytes.TrimPrefix(si.RawData, si.base64HeaderBytes())
344}
345
346// base64HeaderBytes returns the GS2 header encoded as bytes.

Callers 1

verifySASLClientProofFunction · 0.80

Calls 1

base64HeaderBytesMethod · 0.95

Tested by

no test coverage detected