(w http.ResponseWriter, r *http.Request)
| 104 | } |
| 105 | |
| 106 | func (s *RTCService) v1Validate(w http.ResponseWriter, r *http.Request) { |
| 107 | lgr := utils.GetLogger(r.Context()) |
| 108 | _, _, code, err := s.validateInternal(lgr, r, true, true) |
| 109 | if err != nil { |
| 110 | HandleError(w, r, code, err) |
| 111 | return |
| 112 | } |
| 113 | _, _ = w.Write([]byte("success")) |
| 114 | } |
| 115 | |
| 116 | func decodeAttributes(str string) (map[string]string, error) { |
| 117 | data, err := base64.URLEncoding.DecodeString(str) |
nothing calls this directly
no test coverage detected