PayloadAuthPasswordSuccessful is a payload for a message that indicates a successful authentication with a password.
| 21 | // PayloadAuthPasswordSuccessful is a payload for a message that indicates a successful authentication with a |
| 22 | // password. |
| 23 | type 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. |
| 33 | func (p PayloadAuthPasswordSuccessful) Equals(other Payload) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected