summaryrefslogtreecommitdiff
path: root/internal/processing/processor.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/processor.go')
-rw-r--r--internal/processing/processor.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/processing/processor.go b/internal/processing/processor.go
index a7a1c22e0..3afc25196 100644
--- a/internal/processing/processor.go
+++ b/internal/processing/processor.go
@@ -152,6 +152,9 @@ type Processor interface {
// NotificationsGet
NotificationsGet(ctx context.Context, authed *oauth.Auth, limit int, maxID string, sinceID string) (*apimodel.TimelineResponse, gtserror.WithCode)
+ OAuthHandleTokenRequest(r *http.Request) (map[string]interface{}, gtserror.WithCode)
+ OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) error
+
// SearchGet performs a search with the given params, resolving/dereferencing remotely as desired
SearchGet(ctx context.Context, authed *oauth.Auth, searchQuery *apimodel.SearchQuery) (*apimodel.SearchResult, gtserror.WithCode)