GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include <string>
#include <grpc/grpc_security.h>
#include "src/core/lib/json/json.h"
#include "src/core/lib/security/credentials/credentials.h"
#include "src/core/lib/uri/uri_parser.h"
Go to the source code of this file.
Data Structures | |
struct | grpc_auth_refresh_token |
struct | grpc_oauth2_pending_get_request_metadata |
class | grpc_oauth2_token_fetcher_credentials |
class | grpc_google_refresh_token_credentials |
class | grpc_access_token_credentials |
Namespaces | |
grpc_core | |
Round Robin Policy. | |
Macros | |
#define | GRPC_STS_POST_MINIMAL_BODY_FORMAT_STRING |
Functions | |
int | grpc_auth_refresh_token_is_valid (const grpc_auth_refresh_token *refresh_token) |
Returns 1 if the object is valid, 0 otherwise. More... | |
grpc_auth_refresh_token | grpc_auth_refresh_token_create_from_string (const char *json_string) |
Creates a refresh token object from string. More... | |
grpc_auth_refresh_token | grpc_auth_refresh_token_create_from_json (const grpc_core::Json &json) |
Creates a refresh token object from parsed json. More... | |
void | grpc_auth_refresh_token_destruct (grpc_auth_refresh_token *refresh_token) |
Destructs the object. More... | |
grpc_core::RefCountedPtr< grpc_call_credentials > | grpc_refresh_token_credentials_create_from_auth_refresh_token (grpc_auth_refresh_token token) |
grpc_credentials_status | grpc_oauth2_token_fetcher_credentials_parse_server_response (const struct grpc_http_response *response, grpc_mdelem *token_md, grpc_millis *token_lifetime) |
absl::StatusOr< URI > | grpc_core::ValidateStsCredentialsOptions (const grpc_sts_credentials_options *options) |
#define GRPC_STS_POST_MINIMAL_BODY_FORMAT_STRING |
grpc_auth_refresh_token grpc_auth_refresh_token_create_from_json | ( | const grpc_core::Json & | json | ) |
Creates a refresh token object from parsed json.
Returns an invalid object if a parsing error has been encountered.
grpc_auth_refresh_token grpc_auth_refresh_token_create_from_string | ( | const char * | json_string | ) |
Creates a refresh token object from string.
Returns an invalid object if a parsing error has been encountered.
void grpc_auth_refresh_token_destruct | ( | grpc_auth_refresh_token * | refresh_token | ) |
Destructs the object.
int grpc_auth_refresh_token_is_valid | ( | const grpc_auth_refresh_token * | refresh_token | ) |
Returns 1 if the object is valid, 0 otherwise.
grpc_credentials_status grpc_oauth2_token_fetcher_credentials_parse_server_response | ( | const struct grpc_http_response * | response, |
grpc_mdelem * | token_md, | ||
grpc_millis * | token_lifetime | ||
) |
grpc_core::RefCountedPtr<grpc_call_credentials> grpc_refresh_token_credentials_create_from_auth_refresh_token | ( | grpc_auth_refresh_token | token | ) |