class CallCredentials (View source)

Class CallCredentials

Methods

static CallCredentials
createComposite(CallCredentials $cred1, CallCredentials $cred2)

Create composite credentials from two existing credentials.

static CallCredentials
createFromPlugin(Closure $callback)

Create a call credentials object from the plugin API

Details

static CallCredentials createComposite(CallCredentials $cred1, CallCredentials $cred2)

Create composite credentials from two existing credentials.

Parameters

CallCredentials $cred1

The first credential

CallCredentials $cred2

The second credential

Return Value

CallCredentials

The new composite credentials object

Exceptions

InvalidArgumentException

static CallCredentials createFromPlugin(Closure $callback)

Create a call credentials object from the plugin API

Parameters

Closure $callback

The callback function

Return Value

CallCredentials

The new call credentials object

Exceptions

InvalidArgumentException