#include "call_credentials.h"
#include <ext/spl/spl_exceptions.h>
#include <zend_exceptions.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "call.h"
Go to the source code of this file.
Functions | |
php_grpc_zend_object | create_wrapped_grpc_call_credentials (zend_class_entry *class_type TSRMLS_DC) |
void | grpc_init_call_credentials (TSRMLS_D) |
zval * | grpc_php_wrap_call_credentials (grpc_call_credentials *wrapped TSRMLS_DC) |
if (p->wrapped !=NULL) | |
PHP_METHOD (CallCredentials, createComposite) | |
PHP_METHOD (CallCredentials, createFromPlugin) | |
void | plugin_destroy_state (void *ptr) |
int | plugin_get_metadata (void *ptr, grpc_auth_metadata_context context, grpc_credentials_plugin_metadata_cb cb, void *user_data, grpc_metadata creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX], size_t *num_creds_md, grpc_status_code *status, const char **error_details) |
Variables | |
static zend_function_entry | call_credentials_methods [] |
zend_class_entry * | grpc_ce_call_credentials |
php_grpc_zend_object create_wrapped_grpc_call_credentials | ( | zend_class_entry *class_type | TSRMLS_DC | ) |
Definition at line 46 of file call_credentials.c.
void grpc_init_call_credentials | ( | TSRMLS_D | ) |
Definition at line 245 of file call_credentials.c.
zval* grpc_php_wrap_call_credentials | ( | grpc_call_credentials *wrapped | TSRMLS_DC | ) |
Definition at line 55 of file call_credentials.c.
Definition at line 39 of file call_credentials.c.
PHP_METHOD | ( | CallCredentials | , |
createComposite | |||
) |
Create composite credentials from two existing credentials.
CallCredentials | $cred1_obj | The first credential |
CallCredentials | $cred2_obj | The second credential |
Definition at line 73 of file call_credentials.c.
PHP_METHOD | ( | CallCredentials | , |
createFromPlugin | |||
) |
Create a call credentials object from the plugin API
function | $fci | The callback function |
Definition at line 102 of file call_credentials.c.
void plugin_destroy_state | ( | void * | ptr | ) |
Definition at line 221 of file call_credentials.c.
int plugin_get_metadata | ( | void * | ptr, |
grpc_auth_metadata_context | context, | ||
grpc_credentials_plugin_metadata_cb | cb, | ||
void * | user_data, | ||
grpc_metadata | creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX], | ||
size_t * | num_creds_md, | ||
grpc_status_code * | status, | ||
const char ** | error_details | ||
) |
Definition at line 143 of file call_credentials.c.
|
static |
Definition at line 237 of file call_credentials.c.
zend_class_entry* grpc_ce_call_credentials |
class CallCredentials
Definition at line 34 of file call_credentials.c.