Home
last modified time | relevance | path

Searched refs:access_token (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ejdb/src/jbs/
Djbs.c45 const char *access_token = fio_cli_get("-a"); in main() local
46 if (access_token && (*access_token == '@')) { in main()
47 access_token = access_token + 1; in main()
48 FILE *f = fopen(access_token, "r"); in main()
57 iwlog_error("Invalid access token from %s", access_token); in main()
68 access_token = access_token_buf; in main()
69 } else if (access_token && (strlen(access_token) >= sizeof(access_token_buf))) { in main()
89 .access_token = access_token, in main()
/third_party/grpc/src/python/grpcio/grpc/
D_auth.py39 access_token = self._credentials.get_access_token(
42 }).access_token
44 access_token = self._credentials.get_access_token().access_token
48 _sign_request(callback, access_token, None)
54 def __init__(self, access_token): argument
55 self._access_token = access_token
D__init__.py1640 def access_token_call_credentials(access_token): argument
1654 _auth.AccessTokenAuthMetadataPlugin(access_token), None)
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DEJDB2Builder.java129 http.access_token = v; in httpAccessToken()
161 String access_token; field in EJDB2Builder.EJDB2HttpOptions
178 return access_token; in getAccessToken()
192 .add("port=" + port).add("bind='" + bind + "'").add("access_token='" + access_token + "'") in toString()
/third_party/ejdb/src/bindings/ejdb2_jni/src/android/java/com/softmotions/ejdb2/
DEJDB2Builder.java128 http.access_token = v; in httpAccessToken()
164 String access_token; field in EJDB2Builder.EJDB2HttpOptions
181 return access_token; in getAccessToken()
198 .append("access_token=").append(access_token).append(", ") in toString()
/third_party/grpc/test/cpp/interop/
Dclient_helper.cc73 std::string access_token(token + sizeof("Bearer ") - 1); in GetOauth2AccessToken() local
75 return access_token; in GetOauth2AccessToken()
/third_party/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc163 const char* access_token = nullptr; in grpc_oauth2_token_fetcher_credentials_parse_server_response() local
188 access_token = it->second.string_value().c_str(); in grpc_oauth2_token_fetcher_credentials_parse_server_response()
210 absl::StrCat(token_type, " ", access_token))); in grpc_oauth2_token_fetcher_credentials_parse_server_response()
732 const char* access_token) in grpc_access_token_credentials() argument
737 grpc_slice_from_cpp_string(absl::StrCat("Bearer ", access_token))); in grpc_access_token_credentials()
747 const char* access_token, void* reserved) { in grpc_access_token_credentials_create() argument
753 return grpc_core::MakeRefCounted<grpc_access_token_credentials>(access_token) in grpc_access_token_credentials_create()
Doauth2_credentials.h134 explicit grpc_access_token_credentials(const char* access_token);
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_auth_test.py29 token.access_token = 'token'
/third_party/grpc/src/core/lib/security/credentials/external/
Dexternal_account_credentials.cc351 std::string access_token = it->second.string_value(); in ImpersenateServiceAccount() local
371 std::string str = absl::StrFormat("Bearer %s", access_token); in ImpersenateServiceAccount()
421 std::string access_token = it->second.string_value(); in OnImpersenateServiceAccountInternal() local
440 access_token, expire_in); in OnImpersenateServiceAccountInternal()
/third_party/sqlite/
DBUILD.gn45 visibility += [ "//base/security/access_token/*" ]
/third_party/grpc/test/cpp/util/
Dcli_credentials.cc35 access_token, "",
/third_party/grpc/include/grpcpp/security/
Dcredentials_impl.h207 const std::string& access_token);
Dcredentials.h224 const grpc::string& access_token);
/third_party/grpc/src/cpp/client/
Dsecure_credentials.cc346 const std::string& access_token) { in AccessTokenCredentials() argument
349 grpc_access_token_credentials_create(access_token.c_str(), nullptr)); in AccessTokenCredentials()
/third_party/ejdb/src/
Dejdb2.h96 …const char *access_token; /**< Server access token passed in `X-Access-Token` header. Default:… member
Dejdb2.c374 if (http->access_token) { in _jb_db_release()
375 free((void*) http->access_token); in _jb_db_release()
1810 if (http->access_token) { in ejdb_open()
1811 http->access_token = strdup(http->access_token); in ejdb_open()
1812 if (!http->access_token) { in ejdb_open()
1815 http->access_token_len = strlen(http->access_token); in ejdb_open()
/third_party/ejdb/src/jbr/
Djbr.c597 if (http->access_token) { in _jbr_on_http_request()
614 …if ((hv.len != http->access_token_len) || (memcmp(hv.data, http->access_token, http->access_token_… in _jbr_on_http_request()
1270 if (http->access_token) { in _jbr_on_http_upgrade()
1287 …if ((hv.len != http->access_token_len) || (memcmp(hv.data, http->access_token, http->access_token_… in _jbr_on_http_upgrade()
/third_party/grpc/include/grpc/
Dgrpc_security.h353 const char* access_token, void* reserved);
/third_party/ejdb/src/bindings/ejdb2_jni/src/
Dejdb2jni.c269 opts.http.access_token = strings[sc++].utf; in Java_com_softmotions_ejdb2_EJDB2__1open()
270 opts.http.access_token_len = opts.http.access_token ? strlen(opts.http.access_token) : 0; in Java_com_softmotions_ejdb2_EJDB2__1open()
/third_party/ejdb/src/bindings/ejdb2_dart/lib/
Dejdb2_dart.c998 opts.http.access_token = cobject_str(varr[c++], true, &rc); in ejd_open_wrapped()
1012 opts.http.access_token_len = opts.http.access_token ? strlen(opts.http.access_token) : 0; in ejd_open_wrapped()
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c524 jbn->opts.http.access_token = jn_string_at(env, jbn->pool, varr, true, false, argc++, &rc); in jn_ejdb2impl_ctor()
538 …jbn->opts.http.access_token_len = jbn->opts.http.access_token ? strlen(jbn->opts.http.access_token in jn_ejdb2impl_ctor()
/third_party/grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h383 typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token
/third_party/chromium/patch/
DRelease-730.patch78 - "$ohos_build_root/base/security/access_token/interfaces/innerkits/accesstoken/include/",
80 + "$ohos_build_root/base/security/access_token/interfaces/innerkits/accesstoken/include",
/third_party/node/deps/npm/node_modules/request/
DREADME.md415 , url = 'https://api.twitter.com/oauth/access_token'

12