#include <stdio.h>#include <string.h>#include <grpc/grpc.h>#include <grpc/grpc_security.h>#include <grpc/slice.h>#include <grpc/support/alloc.h>#include <grpc/support/log.h>#include <grpc/support/sync.h>#include <grpcpp/security/credentials.h>#include "src/core/lib/iomgr/error.h"#include "src/core/lib/iomgr/load_file.h"#include "src/core/lib/security/credentials/credentials.h"#include "src/core/lib/security/util/json_util.h"#include "src/cpp/client/secure_credentials.h"#include "test/core/security/oauth2_utils.h"#include "test/core/util/cmdline.h"
Go to the source code of this file.
Functions | |
| static grpc_call_credentials * | create_refresh_token_creds (const char *json_refresh_token_file_path) |
| static grpc_call_credentials * | create_sts_creds (const char *json_file_path) |
| int | main (int argc, char **argv) |
|
static |
Definition at line 65 of file fetch_oauth2.cc.
|
static |
Definition at line 38 of file fetch_oauth2.cc.
Definition at line 78 of file fetch_oauth2.cc.