MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / PayloadAuthPasswordSuccessful

Struct PayloadAuthPasswordSuccessful

auditlog/message/auth.go:23–30  ·  view source on GitHub ↗

PayloadAuthPasswordSuccessful is a payload for a message that indicates a successful authentication with a password.

Source from the content-addressed store, hash-verified

21// PayloadAuthPasswordSuccessful is a payload for a message that indicates a successful authentication with a
22// password.
23type PayloadAuthPasswordSuccessful struct {
24 Username string `json:"username" yaml:"username"`
25 AuthenticatedUsername string `json:"authenticatedUsername" yaml:"authenticatedUsername"`
26 Password []byte `json:"password" yaml:"password"`
27 Metadata map[string]MetadataValue `json:"metadata,omitempty"`
28 Environment map[string]MetadataValue `json:"environment,omitempty"`
29 Files map[string]MetadataBinaryValue `json:"files,omitempty"`
30}
31
32// Equals compares two PayloadAuthPasswordSuccessful payloads.
33func (p PayloadAuthPasswordSuccessful) Equals(other Payload) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected