Home
last modified time | relevance | path

Searched refs:jsonKey (Results 1 – 5 of 5) sorted by relevance

/external/syzkaller/vendor/golang.org/x/oauth2/google/
Dgoogle.go45 func ConfigFromJSON(jsonKey []byte, scope ...string) (*oauth2.Config, error) {
57 if err := json.Unmarshal(jsonKey, &j); err != nil {
88 func JWTConfigFromJSON(jsonKey []byte, scope ...string) (*jwt.Config, error) {
90 if err := json.Unmarshal(jsonKey, &f); err != nil {
Djwt.go26 func JWTAccessTokenSourceFromJSON(jsonKey []byte, audience string) (oauth2.TokenSource, error) {
27 cfg, err := JWTConfigFromJSON(jsonKey)
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceClient.java274 String jsonKey = Files.asCharSource(new File(serviceAccountKeyFile), UTF_8).read(); in runTest() local
276 tester.serviceAccountCreds(jsonKey, credentialsStream, oauthScope); in runTest()
287 String jsonKey = Files.asCharSource(new File(serviceAccountKeyFile), UTF_8).read(); in runTest() local
289 tester.oauth2AuthToken(jsonKey, credentialsStream, oauthScope); in runTest()
294 String jsonKey = Files.asCharSource(new File(serviceAccountKeyFile), UTF_8).read(); in runTest() local
296 tester.perRpcCreds(jsonKey, credentialsStream, oauthScope); in runTest()
DAbstractInteropTest.java1637 public void serviceAccountCreds(String jsonKey, InputStream credentialsStream, String authScope) in serviceAccountCreds() argument
1657 jsonKey.contains(response.getUsername())); in serviceAccountCreds()
1722 public void oauth2AuthToken(String jsonKey, InputStream credentialsStream, String authScope) in oauth2AuthToken() argument
1741 jsonKey.contains(response.getUsername())); in oauth2AuthToken()
1748 public void perRpcCreds(String jsonKey, InputStream credentialsStream, String oauthScope) in perRpcCreds() argument
1753 oauth2AuthToken(jsonKey, credentialsStream, oauthScope); in perRpcCreds()
/external/grpc-grpc/src/php/tests/interop/
Dinterop_client.php130 $jsonKey = json_decode(
135 hardAssert($result->getUsername() === $jsonKey['client_email'],
170 $jsonKey = json_decode(
175 hardAssert($result->getUsername() === $jsonKey['client_email'],
187 $jsonKey = json_decode(
192 hardAssert($result->getUsername() === $jsonKey['client_email'],
219 $jsonKey = json_decode(
226 hardAssert($result->getUsername() === $jsonKey['client_email'],