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