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

Method Base64Header

server/authentication_scram.go:317–319  ·  view source on GitHub ↗

Base64Header returns the base64-encoded GS2 header and channel binding data.

()

Source from the content-addressed store, hash-verified

315
316// Base64Header returns the base64-encoded GS2 header and channel binding data.
317func (si SASLInitial) Base64Header() string {
318 return base64.StdEncoding.EncodeToString(si.base64HeaderBytes())
319}
320
321// MessageBare returns the message without the GS2 header.
322func (si SASLInitial) MessageBare() []byte {

Callers 1

handleAuthenticationMethod · 0.95

Calls 1

base64HeaderBytesMethod · 0.95

Tested by

no test coverage detected