common/components/clients/service/Client.php
/**
     * Bind existing credential to content provider
     *
     * @param  int $id credential id
     * @param  int $provider content provider id
     * @return common\components\clients\service\Response
     */
Bind existing credential to content provider
@param  int $id credential id
@param  int $provider content provider id
@return common\components\clients\service\Response
Bind existing credential to content provider @param int $id credential id @param int $provider content provider id @return common \ components \ clients \ service \ Response
public function bindCredential($id, $provider)
    {
        $data = ['provider' => $provider];
        $request = new Request('POST',
            $this->baseUrl."/credential/bind/$id",
            $data,
            $this->options
        );
        return $request->send();
    }
public function bindCredential ( $ id , $ provider ) { $ data = [ 'provider' => $ provider ] ; $ request = new Request ( 'POST' , $ this -> baseUrl . " /credential/bind/ $ id " , $ data , $ this -> options ) ; return $ request -> send ( ) ; }
Bind existing credential to content provider
 @param  int $id credential id
 @param  int $provider content provider id
 @return common\components\clients\service\Response
Bind existing credential to content provider @param int $id credential id @param int $provider content provider id @return common \ components \ clients \ service \ Response