Home
last modified time | relevance | path

Searched refs:oauth2 (Results 1 – 25 of 77) sorted by relevance

1234

/external/python/oauth2client/tests/contrib/
Dtest_flask_util.py74 self.oauth2 = flask_util.UserOAuth2(
95 oauth2 = flask_util.UserOAuth2(
98 self.assertEqual(oauth2.client_id, 'id')
99 self.assertEqual(oauth2.client_secret, 'secret')
108 oauth2 = flask_util.UserOAuth2(
111 self.assertEqual(oauth2.client_id, 'id')
112 self.assertEqual(oauth2.client_secret, 'secret')
116 oauth2 = flask_util.UserOAuth2()
117 oauth2.init_app(app, client_id='id', client_secret='secret')
118 self.assertEqual(oauth2.app, app)
[all …]
/external/syzkaller/vendor/golang.org/x/oauth2/
DREADME.md3 …![Build Status](https://travis-ci.org/golang/oauth2.svg?branch=master)](https://travis-ci.org/gola…
4 [![GoDoc](https://godoc.org/golang.org/x/oauth2?status.svg)](https://godoc.org/golang.org/x/oauth2)
6 oauth2 package contains a client implementation for OAuth 2.0 spec.
11 go get golang.org/x/oauth2
15 `$(go env GOPATH)/src/golang.org/x/oauth2`.
19 * [godoc.org/golang.org/x/oauth2](http://godoc.org/golang.org/x/oauth2)
20 * [godoc.org/golang.org/x/oauth2/google](http://godoc.org/golang.org/x/oauth2/google)
25 In change 96e89be (March 2015), we removed the `oauth2.Context2` type in favor
30 `appengine.Context` type with the `oauth2` package. (You're using
43 with the `oauth2` package.
[all …]
Dclient_appengine.go9 package oauth2 package
/external/syzkaller/vendor/golang.org/x/oauth2/google/
Dgoogle.go31 var Endpoint = oauth2.Endpoint{
45 func ConfigFromJSON(jsonKey []byte, scope ...string) (*oauth2.Config, error) {
72 return &oauth2.Config{
77 Endpoint: oauth2.Endpoint{
138 func (f *credentialsFile) tokenSource(ctx context.Context, scopes []string) (oauth2.TokenSource, er…
144 cfg := &oauth2.Config{
150 tok := &oauth2.Token{RefreshToken: f.RefreshToken}
165 func ComputeTokenSource(account string) oauth2.TokenSource {
166 return oauth2.ReuseTokenSource(nil, computeSource{account: account})
173 func (cs computeSource) Token() (*oauth2.Token, error) {
[all …]
Dsdk.go43 conf oauth2.Config
44 initialToken *oauth2.Token
104 conf: oauth2.Config{
111 initialToken: &oauth2.Token{
129 Transport: &oauth2.Transport{
140 func (c *SDKConfig) TokenSource(ctx context.Context) oauth2.TokenSource {
Djwt.go26 func JWTAccessTokenSourceFromJSON(jsonKey []byte, audience string) (oauth2.TokenSource, error) {
45 return oauth2.ReuseTokenSource(tok, ts), nil
54 func (ts *jwtAccessTokenSource) Token() (*oauth2.Token, error) {
73 return &oauth2.Token{AccessToken: msg, TokenType: "Bearer", Expiry: exp}, nil
Dappengine.go32 func AppEngineTokenSource(ctx context.Context, scope ...string) oauth2.TokenSource {
53 t *oauth2.Token
62 func (ts *appEngineTokenSource) Token() (*oauth2.Token, error) {
84 tok.t = &oauth2.Token{
Ddefault.go26 TokenSource oauth2.TokenSource
42 return oauth2.NewClient(ctx, ts), nil
48 func DefaultTokenSource(ctx context.Context, scope ...string) (oauth2.TokenSource, error) {
/external/syzkaller/vendor/golang.org/x/oauth2/jwt/
Djwt.go68 func (c *Config) TokenSource(ctx context.Context) oauth2.TokenSource {
69 return oauth2.ReuseTokenSource(nil, jwtSource{ctx, c})
78 return oauth2.NewClient(ctx, c.TokenSource(ctx))
88 func (js jwtSource) Token() (*oauth2.Token, error) {
93 hc := oauth2.NewClient(js.ctx, nil)
139 token := &oauth2.Token{
/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_oauth2.cc64 const grpc_metadata* oauth2 = in process_oauth2_success() local
71 GPR_ASSERT(oauth2 != nullptr); in process_oauth2_success()
76 cb(user_data, oauth2, 1, nullptr, 0, GRPC_STATUS_OK, nullptr); in process_oauth2_success()
83 const grpc_metadata* oauth2 = in process_oauth2_failure() local
89 GPR_ASSERT(oauth2 != nullptr); in process_oauth2_failure()
90 cb(user_data, oauth2, 1, nullptr, 0, GRPC_STATUS_UNAUTHENTICATED, nullptr); in process_oauth2_failure()
/external/syzkaller/vendor/google.golang.org/api/internal/
Dcreds.go78 func refreshTokenTokenSource(ctx context.Context, data []byte, scope ...string) (oauth2.TokenSource…
86 cfg := &oauth2.Config{
93 return cfg.TokenSource(ctx, &oauth2.Token{
Dsettings.go30 TokenSource oauth2.TokenSource
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverTraceConfigurationTest.java22 import com.google.auth.oauth2.AccessToken;
23 import com.google.auth.oauth2.GoogleCredentials;
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverStatsConfigurationTest.java23 import com.google.auth.oauth2.AccessToken;
24 import com.google.auth.oauth2.GoogleCredentials;
DStackdriverStatsExporterTest.java22 import com.google.auth.oauth2.AccessToken;
23 import com.google.auth.oauth2.GoogleCredentials;
/external/syzkaller/vendor/google.golang.org/api/option/
Doption.go33 func WithTokenSource(s oauth2.TokenSource) ClientOption {
37 type withTokenSource struct{ ts oauth2.TokenSource }
/external/toolchain-utils/cwp/bartlett/
Dupdate_appengine_server1 appcfg.py --oauth2 update .
/external/python/google-api-python-client/samples/service_account/
DREADME4 keywords: oauth2
/external/webrtc/tools/
D.gitignore14 /third_party/oauth2
/external/python/google-api-python-client/samples/appengine/
DREADME5 keywords: appengine oauth2
/external/grpc-grpc/examples/objective-c/auth_sample/
DREADME.md3 …orial "[OAuth2 on gRPC: Objective-C](https://grpc.io/docs/tutorials/auth/oauth2-objective-c.html)."
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_util.py171 oauth2 = UserOAuth2(request)
172 self.assertIsNone(oauth2.credentials)
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java33 import com.google.auth.oauth2.AccessToken;
34 import com.google.auth.oauth2.GoogleCredentials;
35 import com.google.auth.oauth2.OAuth2Credentials;
36 import com.google.auth.oauth2.ServiceAccountCredentials;
/external/curl/docs/cmdline-opts/
Doauth2-bearer.d1 Long: oauth2-bearer
/external/curl/tests/data/
Dtest87042 pop3://%HOSTIP:%POP3PORT/870 -u user --oauth2-bearer mF_9.B5f-4.1JqM

1234