From a1bb62cc09b7163fff34e7271f71662a493b0a6f Mon Sep 17 00:00:00 2001 From: some Date: Tue, 8 Oct 2024 21:27:53 -0400 Subject: [PATCH] Add back required method --- server/callback.go | 4 ++++ server/token.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/server/callback.go b/server/callback.go index b19c793..73ade5c 100644 --- a/server/callback.go +++ b/server/callback.go @@ -16,6 +16,10 @@ type CallbackRequestBuilder struct { } } +func (rb CallbackRequestBuilder) RequestBuilder() router.RequestBuilder { + return &rb +} + func (rb *CallbackRequestBuilder) Values(values router.Values) (errRes router.ErrorResponse) { err := rb.values.Values.Parse(values) if err != nil { diff --git a/server/token.go b/server/token.go index efd40af..1ee938b 100644 --- a/server/token.go +++ b/server/token.go @@ -17,6 +17,10 @@ type TokenRequestBuilder struct { } } +func (rb TokenRequestBuilder) RequestBuilder() router.RequestBuilder { + return &rb +} + func (rb *TokenRequestBuilder) Values(values router.Values) (errRes router.ErrorResponse) { err := rb.values.Values.Parse(values) if err != nil {