为多维数组创建OAuth签名

时间:2013-04-23 11:57:57

标签: php oauth oauth-2.0 twitter-oauth google-oauth

如何为多维数组创建OAuth签名字符串

示例:

<?php


 //MULTI ARRAY
    $a = array(

        //KEY 1 CONTAINS AN ARRAY
        1=>array('name'=>sundar','email'=>'s7sunder@gmail.com'),

        //KEY 2 CONTAINS AN ARRAY
        2=>array('name'=>sundar1','email'=>'s7sunder1@gmail.com')
    );
?>    

如何为OAuth形成这样的签名字符串

签名字符串:

status=Hello%20Ladies%20%2b%20Gentlemen%2c%20a%20signed%20OAuth%20request%21   

0 个答案:

没有答案