(req *http.Request, _ map[string]string)
| 104 | } |
| 105 | |
| 106 | func (th *existingTokenHandler) AuthorizeRequest(req *http.Request, _ map[string]string) error { |
| 107 | req.Header.Set("Authorization", "Bearer "+th.token) |
| 108 | return nil |
| 109 | } |
| 110 | |
| 111 | func (*existingTokenHandler) Scheme() string { |
| 112 | return "bearer" |