diff options
Diffstat (limited to 'vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go')
| -rw-r--r-- | vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go b/vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go index fc4c4b610..733f880f5 100644 --- a/vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go +++ b/vendor/code.superseriousbusiness.org/oauth2/v4/manage/util.go @@ -1,6 +1,7 @@ package manage import ( + "code.superseriousbusiness.org/oauth2/v4" "net/url" "strings" @@ -9,7 +10,8 @@ import ( type ( // ValidateURIHandler validates that redirectURI is contained in baseURI - ValidateURIHandler func(baseURI, redirectURI string) error + ValidateURIHandler func(baseURI, redirectURI string) error + ExtractExtensionHandler func(*oauth2.TokenGenerateRequest, oauth2.ExtendableTokenInfo) ) // DefaultValidateURI validates that redirectURI is contained in baseURI |
