mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-19 23:13:49 +02:00
Add tokeninfo endpoint
This commit is contained in:
parent
188f077da1
commit
22d796c5cf
3 changed files with 113 additions and 0 deletions
1
main.go
1
main.go
|
|
@ -130,6 +130,7 @@ func main() {
|
|||
http.Handle("/remoteDesktopGateway/", common.EnrichContext(http.HandlerFunc(gw.HandleGatewayProtocol)))
|
||||
http.Handle("/connect", common.EnrichContext(api.Authenticated(http.HandlerFunc(api.HandleDownload))))
|
||||
http.Handle("/metrics", promhttp.Handler())
|
||||
http.HandleFunc("/tokeninfo", api.TokenInfo)
|
||||
http.HandleFunc("/callback", api.HandleCallback)
|
||||
|
||||
err = server.ListenAndServeTLS("", "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue