Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Configured() bool
ExchangeCodeForToken(ctx context.Context, code, redirectURI string) (*User, error)
GetAuthURL(ctx context.Context, state, redirectURI string) (string, error)
}
type ServiceWithLogging ¶
type ServiceWithLogging struct {
// contains filtered or unexported fields
}
ServiceWithLogging implements Service with method completion logging.
func (ServiceWithLogging) Configured ¶
func (_d ServiceWithLogging) Configured() (b1 bool)
Configured implements Service.
func (ServiceWithLogging) ExchangeCodeForToken ¶
func (_d ServiceWithLogging) ExchangeCodeForToken(ctx context.Context, code string, redirectURI string) (up1 *User, err error)
ExchangeCodeForToken implements Service.
func (ServiceWithLogging) GetAuthURL ¶
func (_d ServiceWithLogging) GetAuthURL(ctx context.Context, state string, redirectURI string) (s1 string, err error)
GetAuthURL implements Service.
Click to show internal directories.
Click to hide internal directories.