Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99620321
Credentials.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jan 25, 19:56
Size
875 B
Mime Type
text/x-php
Expires
Mon, Jan 27, 19:56 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23834233
Attached To
rPH Phabricator
Credentials.php
View Options
<?php
class
Services_Twilio_Rest_Credentials
extends
Services_Twilio_SIPListResource
{
/**
* Creates a new Credential instance
*
* Example usage:
*
* .. code-block:: php
*
* $client->account->sip->credential_lists->get('CLXXX')->credentials->create(
* "AwesomeUsername", "SuperSecretPassword",
* );
*
* :param string $username: the username for the new Credential object
* :param string $password: the password for the new Credential object
* :param array $params: a single array of parameters which is serialized and
* sent directly to the Twilio API.
*/
public
function
create
(
$username
,
$password
,
$params
=
array
())
{
return
parent
::
_create
(
array
(
'Username'
=>
$username
,
'Password'
=>
$password
,
)
+
$params
);
}
}
Event Timeline
Log In to Comment