openid: AuthRequest : Auth_OpenID_CheckIDRequest in JanRain PHP OpenID

実は、ライブラリを修正してIDのsignonのEndpoint(id.debian.hdknr)ではなくXRDSに追加した別のEndpoint(photo.debian.hdknr)にいくようにしている過程。

object(__PHP_Incomplete_Class)#1 (12) {
  ["__PHP_Incomplete_Class_Name"]=>
  string(26) "Auth_OpenID_CheckIDRequest"
  ["verifyReturnTo"]=>
  string(26) "Auth_OpenID_verifyReturnTo"
  ["mode"]=>
  string(13) "checkid_setup"
  ["immediate"]=>
  bool(false)
  ["trust_root"]=>
  string(30) "http://print.debian.hdknr:80//"
  ["namespace"]=>
  string(28) "http://openid.net/signon/1.0"
  ["assoc_handle"]=>
  string(31) "{HMAC-SHA1}{48bf6668}{FZhlOQ==}"
  ["identity"]=>
  string(44) "http://id.debian.hdknr/server.php?user=hdknr"
  ["claimed_id"]=>
  NULL
  ["return_to"]=>
  string(166) "http://print.debian.hdknr:80//finish_auth.php?janrain_nonce=2008-09-04T10%3A21%3A42ZptSgl3&openid1_claimed_id=http%3A%2F%2Fid.debian.hdknr%2Fserver.php%3Fuser%3Dhdknr"
  ["server"]=>
  object(__PHP_Incomplete_Class)#2 (7) {
    ["__PHP_Incomplete_Class_Name"]=>
    string(18) "Auth_OpenID_Server"
    ["store"]=>
    &object(__PHP_Incomplete_Class)#3 (7) {
      ["__PHP_Incomplete_Class_Name"]=>
      string(21) "Auth_OpenID_FileStore"
      ["directory"]=>
      string(11) "/tmp/_photo"
      ["active"]=>
      bool(true)
      ["nonce_dir"]=>
      string(18) "/tmp/_photo/nonces"
      ["association_dir"]=>
      string(24) "/tmp/_photo/associations"
      ["temp_dir"]=>
      string(16) "/tmp/_photo/temp"
      ["max_nonce_age"]=>
      int(21600)
    }
    ["signatory"]=>
    &object(__PHP_Incomplete_Class)#4 (5) {
      ["__PHP_Incomplete_Class_Name"]=>
      string(21) "Auth_OpenID_Signatory"
      ["SECRET_LIFETIME"]=>
      int(1209600)
      ["normal_key"]=>
      string(24) "http://localhost/|normal"
      ["dumb_key"]=>
      string(22) "http://localhost/|dumb"
      ["store"]=>
      &object(__PHP_Incomplete_Class)#3 (7) {
        ["__PHP_Incomplete_Class_Name"]=>
        string(21) "Auth_OpenID_FileStore"
        ["directory"]=>
        string(11) "/tmp/_photo"
        ["active"]=>
        bool(true)
        ["nonce_dir"]=>
        string(18) "/tmp/_photo/nonces"
        ["association_dir"]=>
        string(24) "/tmp/_photo/associations"
        ["temp_dir"]=>
        string(16) "/tmp/_photo/temp"
        ["max_nonce_age"]=>
        int(21600)
      }
    }
    ["encoder"]=>
    object(__PHP_Incomplete_Class)#5 (3) {
      ["__PHP_Incomplete_Class_Name"]=>
      string(26) "Auth_OpenID_SigningEncoder"
      ["responseFactory"]=>
      string(23) "Auth_OpenID_WebResponse"
      ["signatory"]=>
      &object(__PHP_Incomplete_Class)#4 (5) {
        ["__PHP_Incomplete_Class_Name"]=>
        string(21) "Auth_OpenID_Signatory"
        ["SECRET_LIFETIME"]=>
        int(1209600)
        ["normal_key"]=>
        string(24) "http://localhost/|normal"
        ["dumb_key"]=>
        string(22) "http://localhost/|dumb"
        ["store"]=>
        &object(__PHP_Incomplete_Class)#3 (7) {
          ["__PHP_Incomplete_Class_Name"]=>
          string(21) "Auth_OpenID_FileStore"
          ["directory"]=>
          string(11) "/tmp/_photo"
          ["active"]=>
          bool(true)
          ["nonce_dir"]=>
          string(18) "/tmp/_photo/nonces"
          ["association_dir"]=>
          string(24) "/tmp/_photo/associations"
          ["temp_dir"]=>
          string(16) "/tmp/_photo/temp"
          ["max_nonce_age"]=>
          int(21600)
        }
      }
    }
    ["decoder"]=>
    object(__PHP_Incomplete_Class)#6 (3) {
      ["__PHP_Incomplete_Class_Name"]=>
      string(19) "Auth_OpenID_Decoder"
      ["server"]=>
      object(__PHP_Incomplete_Class)#2 (7) {
        ["__PHP_Incomplete_Class_Name"]=>
        string(18) "Auth_OpenID_Server"
        ["store"]=>
        &object(__PHP_Incomplete_Class)#3 (7) {
          ["__PHP_Incomplete_Class_Name"]=>
          string(21) "Auth_OpenID_FileStore"
          ["directory"]=>
          string(11) "/tmp/_photo"
          ["active"]=>
          bool(true)
          ["nonce_dir"]=>
          string(18) "/tmp/_photo/nonces"
          ["association_dir"]=>
          string(24) "/tmp/_photo/associations"
          ["temp_dir"]=>
          string(16) "/tmp/_photo/temp"
          ["max_nonce_age"]=>
          int(21600)
        }
        ["signatory"]=>
        &object(__PHP_Incomplete_Class)#4 (5) {
          ["__PHP_Incomplete_Class_Name"]=>
          string(21) "Auth_OpenID_Signatory"
          ["SECRET_LIFETIME"]=>
          int(1209600)
          ["normal_key"]=>
          string(24) "http://localhost/|normal"
          ["dumb_key"]=>
          string(22) "http://localhost/|dumb"
          ["store"]=>
          &object(__PHP_Incomplete_Class)#3 (7) {
            ["__PHP_Incomplete_Class_Name"]=>
            string(21) "Auth_OpenID_FileStore"
            ["directory"]=>
            string(11) "/tmp/_photo"
            ["active"]=>
            bool(true)
            ["nonce_dir"]=>
            string(18) "/tmp/_photo/nonces"
            ["association_dir"]=>
            string(24) "/tmp/_photo/associations"
            ["temp_dir"]=>
            string(16) "/tmp/_photo/temp"
            ["max_nonce_age"]=>
            int(21600)
          }
        }
        ["encoder"]=>
        object(__PHP_Incomplete_Class)#5 (3) {
          ["__PHP_Incomplete_Class_Name"]=>
          string(26) "Auth_OpenID_SigningEncoder"
          ["responseFactory"]=>
          string(23) "Auth_OpenID_WebResponse"
          ["signatory"]=>
          &object(__PHP_Incomplete_Class)#4 (5) {
            ["__PHP_Incomplete_Class_Name"]=>
            string(21) "Auth_OpenID_Signatory"
            ["SECRET_LIFETIME"]=>
            int(1209600)
            ["normal_key"]=>
            string(24) "http://localhost/|normal"
            ["dumb_key"]=>
            string(22) "http://localhost/|dumb"
            ["store"]=>
            &object(__PHP_Incomplete_Class)#3 (7) {
              ["__PHP_Incomplete_Class_Name"]=>
              string(21) "Auth_OpenID_FileStore"
              ["directory"]=>
              string(11) "/tmp/_photo"
              ["active"]=>
              bool(true)
              ["nonce_dir"]=>
              string(18) "/tmp/_photo/nonces"
              ["association_dir"]=>
              string(24) "/tmp/_photo/associations"
              ["temp_dir"]=>
              string(16) "/tmp/_photo/temp"
              ["max_nonce_age"]=>
              int(21600)
            }
          }
        }
        ["decoder"]=>
        object(__PHP_Incomplete_Class)#6 (3) {
          ["__PHP_Incomplete_Class_Name"]=>
          string(19) "Auth_OpenID_Decoder"
          ["server"]=>
          *RECURSION*
          ["handlers"]=>
          array(4) {
            ["checkid_setup"]=>
            string(26) "Auth_OpenID_CheckIDRequest"
            ["checkid_immediate"]=>
            string(26) "Auth_OpenID_CheckIDRequest"
            ["check_authentication"]=>
            string(28) "Auth_OpenID_CheckAuthRequest"
            ["associate"]=>
            string(28) "Auth_OpenID_AssociateRequest"
          }
        }
        ["op_endpoint"]=>
        string(36) "http://photo.debian.hdknr/server.php"
        ["negotiator"]=>
        object(__PHP_Incomplete_Class)#7 (2) {
          ["__PHP_Incomplete_Class_Name"]=>
          string(29) "Auth_OpenID_SessionNegotiator"
          ["allowed_types"]=>
          array(4) {
            [0]=>
            array(2) {
              [0]=>
              string(9) "HMAC-SHA1"
              [1]=>
              string(7) "DH-SHA1"
            }
            [1]=>
            array(2) {
              [0]=>
              string(11) "HMAC-SHA256"
              [1]=>
              string(9) "DH-SHA256"
            }
            [2]=>
            array(2) {
              [0]=>
              string(9) "HMAC-SHA1"
              [1]=>
              string(13) "no-encryption"
            }
            [3]=>
            array(2) {
              [0]=>
              string(11) "HMAC-SHA256"
              [1]=>
              string(13) "no-encryption"
            }
          }
        }
      }
      ["handlers"]=>
      array(4) {
        ["checkid_setup"]=>
        string(26) "Auth_OpenID_CheckIDRequest"
        ["checkid_immediate"]=>
        string(26) "Auth_OpenID_CheckIDRequest"
        ["check_authentication"]=>
        string(28) "Auth_OpenID_CheckAuthRequest"
        ["associate"]=>
        string(28) "Auth_OpenID_AssociateRequest"
      }
    }
    ["op_endpoint"]=>
    string(36) "http://photo.debian.hdknr/server.php"
    ["negotiator"]=>
    object(__PHP_Incomplete_Class)#7 (2) {
      ["__PHP_Incomplete_Class_Name"]=>
      string(29) "Auth_OpenID_SessionNegotiator"
      ["allowed_types"]=>
      array(4) {
        [0]=>
        array(2) {
          [0]=>
          string(9) "HMAC-SHA1"
          [1]=>
          string(7) "DH-SHA1"
        }
        [1]=>
        array(2) {
          [0]=>
          string(11) "HMAC-SHA256"
          [1]=>
          string(9) "DH-SHA256"
        }
        [2]=>
        array(2) {
          [0]=>
          string(9) "HMAC-SHA1"
          [1]=>
          string(13) "no-encryption"
        }
        [3]=>
        array(2) {
          [0]=>
          string(11) "HMAC-SHA256"
          [1]=>
          string(13) "no-encryption"
        }
      }
    }
  }
  ["message"]=>
  object(__PHP_Incomplete_Class)#8 (5) {
    ["__PHP_Incomplete_Class_Name"]=>
    string(19) "Auth_OpenID_Message"
    ["allowed_openid_namespaces"]=>
    array(3) {
      [0]=>
      string(28) "http://openid.net/signon/1.0"
      [1]=>
      string(28) "http://openid.net/signon/1.1"
      [2]=>
      string(32) "http://specs.openid.net/auth/2.0"
    }
    ["args"]=>
    object(__PHP_Incomplete_Class)#9 (3) {
      ["__PHP_Incomplete_Class_Name"]=>
      string(19) "Auth_OpenID_Mapping"
      ["keys"]=>
      array(8) {
        [0]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(12) "assoc_handle"
        }
        [1]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(8) "identity"
        }
        [2]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(4) "mode"
        }
        [3]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(28) "pape.preferred_auth_policies"
        }
        [4]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(9) "return_to"
        }
        [5]=>
        array(2) {
          [0]=>
          string(37) "http://openid.net/extensions/sreg/1.1"
          [1]=>
          string(8) "optional"
        }
        [6]=>
        array(2) {
          [0]=>
          string(37) "http://openid.net/extensions/sreg/1.1"
          [1]=>
          string(8) "required"
        }
        [7]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(10) "trust_root"
        }
      }
      ["values"]=>
      array(8) {
        [0]=>
        string(31) "{HMAC-SHA1}{48bf6668}{FZhlOQ==}"
        [1]=>
        string(44) "http://id.debian.hdknr/server.php?user=hdknr"
        [2]=>
        string(13) "checkid_setup"
        [3]=>
        string(0) ""
        [4]=>
        string(166) "http://print.debian.hdknr:80//finish_auth.php?janrain_nonce=2008-09-04T10%3A21%3A42ZptSgl3&openid1_claimed_id=http%3A%2F%2Fid.debian.hdknr%2Fserver.php%3Fuser%3Dhdknr"
        [5]=>
        string(14) "fullname,email"
        [6]=>
        string(8) "nickname"
        [7]=>
        string(30) "http://print.debian.hdknr:80//"
      }
    }
    ["namespaces"]=>
    object(__PHP_Incomplete_Class)#10 (4) {
      ["__PHP_Incomplete_Class_Name"]=>
      string(24) "Auth_OpenID_NamespaceMap"
      ["alias_to_namespace"]=>
      object(__PHP_Incomplete_Class)#11 (3) {
        ["__PHP_Incomplete_Class_Name"]=>
        string(19) "Auth_OpenID_Mapping"
        ["keys"]=>
        array(2) {
          [0]=>
          string(14) "Null namespace"
          [1]=>
          string(4) "sreg"
        }
        ["values"]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(37) "http://openid.net/extensions/sreg/1.1"
        }
      }
      ["namespace_to_alias"]=>
      object(__PHP_Incomplete_Class)#12 (3) {
        ["__PHP_Incomplete_Class_Name"]=>
        string(19) "Auth_OpenID_Mapping"
        ["keys"]=>
        array(2) {
          [0]=>
          string(28) "http://openid.net/signon/1.0"
          [1]=>
          string(37) "http://openid.net/extensions/sreg/1.1"
        }
        ["values"]=>
        array(2) {
          [0]=>
          string(14) "Null namespace"
          [1]=>
          string(4) "sreg"
        }
      }
      ["implicit_namespaces"]=>
      array(2) {
        [0]=>
        string(28) "http://openid.net/signon/1.0"
        [1]=>
        string(37) "http://openid.net/extensions/sreg/1.1"
      }
    }
    ["_openid_ns_uri"]=>
    string(28) "http://openid.net/signon/1.0"
  }
}

カテゴリー: 未分類 パーマリンク

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中