credentials: deprecate ProtocolInfo.SecurityVersion (#3372)
credentials: deprecate ProtocolInfo.SecurityVersion (#3372)
This commit is contained in:

committed by
GitHub

parent
6b9bf4296e
commit
a10661dd0a
@ -100,7 +100,11 @@ type ProtocolInfo struct {
|
|||||||
ProtocolVersion string
|
ProtocolVersion string
|
||||||
// SecurityProtocol is the security protocol in use.
|
// SecurityProtocol is the security protocol in use.
|
||||||
SecurityProtocol string
|
SecurityProtocol string
|
||||||
// SecurityVersion is the security protocol version.
|
// SecurityVersion is the security protocol version. It is a static version string from the
|
||||||
|
// credentials, not a value that reflects per-connection protocol negotiation. To retrieve
|
||||||
|
// details about the credentials used for a connection, use the Peer's AuthInfo field instead.
|
||||||
|
//
|
||||||
|
// Deprecated: please use Peer.AuthInfo.
|
||||||
SecurityVersion string
|
SecurityVersion string
|
||||||
// ServerName is the user-configured server name.
|
// ServerName is the user-configured server name.
|
||||||
ServerName string
|
ServerName string
|
||||||
|
Reference in New Issue
Block a user