GRPC PHP  1.38.0
Static Public Member Functions
Grpc\CallCredentials Class Reference

class CallCredentials More...

Static Public Member Functions

static createComposite ($cred1_obj, $cred2_obj)
 Create composite credentials from two existing credentials. More...
 
static createFromPlugin ($fci)
 Create a call credentials object from the plugin API. More...
 

Detailed Description

class CallCredentials

See also
https://github.com/grpc/grpc/tree/master/src/php/ext/grpc/call_credentials.c

Member Function Documentation

◆ createComposite()

static Grpc\CallCredentials::createComposite (   $cred1_obj,
  $cred2_obj 
)
static

Create composite credentials from two existing credentials.

Parameters
CallCredentials$cred1_objThe first credential
CallCredentials$cred2_objThe second credential
Returns
CallCredentials The new composite credentials object

◆ createFromPlugin()

static Grpc\CallCredentials::createFromPlugin (   $fci)
static

Create a call credentials object from the plugin API.

Parameters
function$fciThe callback function
Returns
CallCredentials The new call credentials object

The documentation for this class was generated from the following file: