forked from Mirrors/oauth2
0f29369cfe
This is required for the direct path feature, which only works with this token source. It's not currently possible to determine the token source type from the return value of FindDefaultCredentials. Another option is to add another field to the Credentials struct, which we could still do later, but direct path is currently pretty experimental and whitelisted/opt-in, so I don't want to add to the public API surface unnecessarily. This CL functionally blocks https://code-review.googlesource.com/c/google-api-go-client/+/40950 Change-Id: Ifb5fe9c6e5c6b33eebb87b45d3c70eebfca691b3 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/175877 Reviewed-by: Chris Broadfoot <cbro@golang.org> |
||
---|---|---|
.. | ||
testdata/gcloud | ||
appengine.go | ||
appengine_gen1.go | ||
appengine_gen2_flex.go | ||
default.go | ||
doc.go | ||
example_test.go | ||
google.go | ||
google_test.go | ||
jwt.go | ||
jwt_test.go | ||
sdk.go | ||
sdk_test.go |