MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / PayloadAuthPubKey

Struct PayloadAuthPubKey

auditlog/message/auth.go:63–66  ·  view source on GitHub ↗

PayloadAuthPubKey is a payload for a public key based authentication.

Source from the content-addressed store, hash-verified

61
62// PayloadAuthPubKey is a payload for a public key based authentication.
63type PayloadAuthPubKey struct {
64 Username string `json:"username" yaml:"username"`
65 Key string `json:"key" yaml:"key"`
66}
67
68// Equals compares two PayloadAuthPubKey payloads.
69func (p PayloadAuthPubKey) Equals(other Payload) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected