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

Method Base64Header

pgserver/authentication_scram.go:336–338  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

334}
335
336// Base64Header returns the base64-encoded GS2 header and channel binding data.
337func (si SASLInitial) Base64Header() string {
338 return base64.StdEncoding.EncodeToString(si.base64HeaderBytes())
339}
340
341// MessageBare returns the message without the GS2 header.

Callers 1

handleAuthenticationMethod · 0.95

Calls 1

base64HeaderBytesMethod · 0.95

Tested by

no test coverage detected