mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
Relax AppEngineConfig to allow RoundTrippers.
This commit is contained in:
parent
8524783bd7
commit
9d55d5b30b
@ -14,10 +14,10 @@ import (
|
|||||||
// AppEngineConfig represents a configuration for an
|
// AppEngineConfig represents a configuration for an
|
||||||
// App Engine application's Google service account.
|
// App Engine application's Google service account.
|
||||||
type AppEngineConfig struct {
|
type AppEngineConfig struct {
|
||||||
// Transport is the transport to be used
|
// Transport is the http.RoundTripper to be used
|
||||||
// to construct new oauth2.Transport instances from
|
// to construct new oauth2.Transport instances from
|
||||||
// this configuration.
|
// this configuration.
|
||||||
Transport *urlfetch.Transport
|
Transport http.RoundTripper
|
||||||
|
|
||||||
context appengine.Context
|
context appengine.Context
|
||||||
scopes []string
|
scopes []string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user