debugging for analyzing token

This commit is contained in:
2023-11-06 18:15:03 +01:00
parent c4317b7503
commit 5828a9a5a2
6 changed files with 23 additions and 5 deletions

View File

@ -5,6 +5,7 @@ import (
// "net/url"
"golang.org/x/oauth2"
"github.com/sirupsen/logrus"
)
// Providers contains all the implemented providers
@ -20,7 +21,7 @@ type Provider interface {
GetLoginURL(redirectURI, state string) string
ExchangeCode(redirectURI, code string) (string, error)
GetUser(token string) (User, error)
Setup() error
Setup(*logrus.Logger) error
}
type token struct {