summaryrefslogtreecommitdiff
path: root/vendor/code.superseriousbusiness.org/oauth2/v4/doc.go
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-12-01 22:08:04 +0100
commitb1af8fd87760b34e3ff2fd3bda38f211815a0473 (patch)
tree9317fad1a7ec298d7a8d2678e4e422953bbc6f33 /vendor/code.superseriousbusiness.org/oauth2/v4/doc.go
parent[chore] update URLs to forked source (diff)
downloadgotosocial-b1af8fd87760b34e3ff2fd3bda38f211815a0473.tar.xz
[chore] remove vendor
Diffstat (limited to 'vendor/code.superseriousbusiness.org/oauth2/v4/doc.go')
-rw-r--r--vendor/code.superseriousbusiness.org/oauth2/v4/doc.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/code.superseriousbusiness.org/oauth2/v4/doc.go b/vendor/code.superseriousbusiness.org/oauth2/v4/doc.go
deleted file mode 100644
index cb579efda..000000000
--- a/vendor/code.superseriousbusiness.org/oauth2/v4/doc.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// OAuth 2.0 server library for the Go programming language
-//
-// package main
-// import (
-// "net/http"
-// "code.superseriousbusiness.org/oauth2/v4/manage"
-// "code.superseriousbusiness.org/oauth2/v4/server"
-// "code.superseriousbusiness.org/oauth2/v4/store"
-// )
-// func main() {
-// manager := manage.NewDefaultManager()
-// manager.MustTokenStorage(store.NewMemoryTokenStore())
-// manager.MapClientStorage(store.NewTestClientStore())
-// srv := server.NewDefaultServer(manager)
-// http.HandleFunc("/authorize", func(w http.ResponseWriter, r *http.Request) {
-// srv.HandleAuthorizeRequest(w, r)
-// })
-// http.HandleFunc("/token", func(w http.ResponseWriter, r *http.Request) {
-// srv.HandleTokenRequest(w, r)
-// })
-// http.ListenAndServe(":9096", nil)
-// }
-
-package oauth2