GRPC Core
9.0.0
|
#include <grpc/support/port_platform.h>
#include "src/core/tsi/grpc_shadow_boringssl.h"
#include <grpc/slice.h>
#include <openssl/rsa.h>
#include "src/core/lib/json/json.h"
Go to the source code of this file.
Data Structures | |
struct | grpc_auth_json_key |
Macros | |
#define | GRPC_JWT_OAUTH2_AUDIENCE "https://oauth2.googleapis.com/token" |
Typedefs | |
typedef char *(* | grpc_jwt_encode_and_sign_override) (const grpc_auth_json_key *json_key, const char *audience, gpr_timespec token_lifetime, const char *scope) |
Functions | |
int | grpc_auth_json_key_is_valid (const grpc_auth_json_key *json_key) |
grpc_auth_json_key | grpc_auth_json_key_create_from_string (const char *json_string) |
grpc_auth_json_key | grpc_auth_json_key_create_from_json (const grpc_json *json) |
void | grpc_auth_json_key_destruct (grpc_auth_json_key *json_key) |
char * | grpc_jwt_encode_and_sign (const grpc_auth_json_key *json_key, const char *audience, gpr_timespec token_lifetime, const char *scope) |
void | grpc_jwt_encode_and_sign_set_override (grpc_jwt_encode_and_sign_override func) |
#define GRPC_JWT_OAUTH2_AUDIENCE "https://oauth2.googleapis.com/token" |
typedef char*(* grpc_jwt_encode_and_sign_override) (const grpc_auth_json_key *json_key, const char *audience, gpr_timespec token_lifetime, const char *scope) |
grpc_auth_json_key grpc_auth_json_key_create_from_json | ( | const grpc_json * | json | ) |
grpc_auth_json_key grpc_auth_json_key_create_from_string | ( | const char * | json_string | ) |
void grpc_auth_json_key_destruct | ( | grpc_auth_json_key * | json_key | ) |
int grpc_auth_json_key_is_valid | ( | const grpc_auth_json_key * | json_key | ) |
char* grpc_jwt_encode_and_sign | ( | const grpc_auth_json_key * | json_key, |
const char * | audience, | ||
gpr_timespec | token_lifetime, | ||
const char * | scope | ||
) |
void grpc_jwt_encode_and_sign_set_override | ( | grpc_jwt_encode_and_sign_override | func | ) |