summaryrefslogtreecommitdiff
path: root/internal/processing/oauth.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/oauth.go')
-rw-r--r--internal/processing/oauth.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/processing/oauth.go b/internal/processing/oauth.go
index 3df4824b2..144503bbd 100644
--- a/internal/processing/oauth.go
+++ b/internal/processing/oauth.go
@@ -25,17 +25,17 @@ import (
"github.com/superseriousbusiness/oauth2/v4"
)
-func (p *processor) OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) gtserror.WithCode {
+func (p *Processor) OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) gtserror.WithCode {
// todo: some kind of metrics stuff here
return p.oauthServer.HandleAuthorizeRequest(w, r)
}
-func (p *processor) OAuthHandleTokenRequest(r *http.Request) (map[string]interface{}, gtserror.WithCode) {
+func (p *Processor) OAuthHandleTokenRequest(r *http.Request) (map[string]interface{}, gtserror.WithCode) {
// todo: some kind of metrics stuff here
return p.oauthServer.HandleTokenRequest(r)
}
-func (p *processor) OAuthValidateBearerToken(r *http.Request) (oauth2.TokenInfo, error) {
+func (p *Processor) OAuthValidateBearerToken(r *http.Request) (oauth2.TokenInfo, error) {
// todo: some kind of metrics stuff here
return p.oauthServer.ValidationBearerToken(r)
}