зеркало из https://github.com/golang/oauth2.git
Relax AppEngineConfig to allow RoundTrippers.
This commit is contained in:
Родитель
8524783bd7
Коммит
9d55d5b30b
|
@ -14,10 +14,10 @@ import (
|
|||
// AppEngineConfig represents a configuration for an
|
||||
// App Engine application's Google service account.
|
||||
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
|
||||
// this configuration.
|
||||
Transport *urlfetch.Transport
|
||||
Transport http.RoundTripper
|
||||
|
||||
context appengine.Context
|
||||
scopes []string
|
||||
|
|
Загрузка…
Ссылка в новой задаче