debugging for analyzing token
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user