| 13 | ) |
| 14 | |
| 15 | type DIDDoc struct { |
| 16 | // yes i know this isn't all of the fields, but it's good enuff |
| 17 | Service []struct { |
| 18 | ID string `json:"id"` |
| 19 | Type string `json:"type"` |
| 20 | ServiceEndpoint string `json:"serviceEndpoint"` |
| 21 | } `json:"service"` |
| 22 | } |
| 23 | |
| 24 | func Authenticate(username, password string) (*AuthResponse, *string, error) { |
| 25 | _, userPDS, err := GetUserAuthData(username) |
nothing calls this directly
no outgoing calls
no test coverage detected