MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / PayloadAuthPassword

Struct PayloadAuthPassword

auditlog/message/auth.go:7–10  ·  view source on GitHub ↗

PayloadAuthPassword is a payload for a message that indicates an authentication attempt, successful, or failed authentication.

Source from the content-addressed store, hash-verified

5// PayloadAuthPassword is a payload for a message that indicates an authentication attempt, successful, or failed
6// authentication.
7type PayloadAuthPassword struct {
8 Username string `json:"username" yaml:"username"`
9 Password []byte `json:"password" yaml:"password"`
10}
11
12// Equals compares two PayloadAuthPassword payloads.
13func (p PayloadAuthPassword) Equals(other Payload) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected