question

Sameer Roy avatar image
Sameer Roy asked ·

Calling rc api password flow type in PHP sdk

I am exploring rc api that has password flow type which means username & password required while calling.

Trying to call in php sdk here https://github.com/ringcentral/ringcentral-php

Any sample in PHP SDK to implement password flow with username & password to start with?

phpphp sdk
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered ·

There is a PHP sample example for you here to implement username & password:

https://github.com/ringcentral/ringcentral-php/blob/master/demo/sms.php#L18

$platform->login($credentials['username'], $credentials['extension'], $credentials['password']); 

Hope this help

1 comment Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

wow.. thanks for the quick response :) This is exactly the sample I was looking for

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.