一連の呼び出しから結果取得まで
※ リダイレクトの HTML 部分は省いてあります
※ mixi の実際の ID は xxxxxxx となっています
+++++++++++++++++++
openid_pem=C:\user\php\openid_sample\cacert.pem
store_path=C:\user\php\_php_consumer_dir
scheme=http
return_to=http://night:80/php/openid_sample/return.php
trust_root=http://night:80/php/openid_sample/
window??・
php_curl.dll load
php_openssl.dll load
Auth_OpenID_FileStore Object
(
[directory] => C:\user\php\_php_consumer_dir
[active] => 1
[nonce_dir] => C:\user\php\_php_consumer_dir\nonces
[association_dir] => C:\user\php\_php_consumer_dir\associations
[temp_dir] => C:\user\php\_php_consumer_dir\temp
[max_nonce_age] => 21600
)
Auth_OpenID_Consumer Object
(
[discoverMethod] => Auth_OpenID_discover
[session_key_prefix] => _openid_consumer_
[_token_suffix] => last_token
[session] => Auth_Yadis_PHPSession Object
(
)
[consumer] => Auth_OpenID_GenericConsumer Object
(
[discoverMethod] => Auth_OpenID_discover
[store] => Auth_OpenID_FileStore Object
(
[directory] => C:\user\php\_php_consumer_dir
[active] => 1
[nonce_dir] => C:\user\php\_php_consumer_dir\nonces
[association_dir] => C:\user\php\_php_consumer_dir\associations
[temp_dir] => C:\user\php\_php_consumer_dir\temp
[max_nonce_age] => 21600
)
[_use_assocs] => 1
[openid1_nonce_query_arg_name] => janrain_nonce
[openid1_return_to_identifier_name] => openid1_claimed_id
[negotiator] => Auth_OpenID_SessionNegotiator Object
(
[allowed_types] => Array
(
[0] => Array
(
[0] => HMAC-SHA1
[1] => DH-SHA1
)
[1] => Array
(
[0] => HMAC-SHA256
[1] => DH-SHA256
)
[2] => Array
(
[0] => HMAC-SHA1
[1] => no-encryption
)
[3] => Array
(
[0] => HMAC-SHA256
[1] => no-encryption
)
)
)
[fetcher] => Auth_Yadis_ParanoidHTTPFetcher Object
(
[timeout] => 20
[headers] => Array
(
)
[data] =>
)
[session_types] => Array
(
[no-encryption] => Auth_OpenID_PlainTextConsumerSession
[DH-SHA1] => Auth_OpenID_DiffieHellmanSHA1ConsumerSession
[DH-SHA256] => Auth_OpenID_DiffieHellmanSHA256ConsumerSession
)
)
[_token_key] => _openid_consumer_last_token
)
https://mixi.jp
Auth_OpenID_AuthRequest Object
(
[assoc] => Auth_OpenID_Association Object
(
[SIG_LENGTH] => 20
[assoc_keys] => Array
(
[0] => version
[1] => handle
[2] => secret
[3] => issued
[4] => lifetime
[5] => assoc_type
)
[_macs] => Array
(
[HMAC-SHA1] => Auth_OpenID_HMACSHA1
[HMAC-SHA256] => Auth_OpenID_HMACSHA256
)
[handle] => 1231324943:T8Ulzozzozep0uWCDm8v:4adf3df5e7
[secret] => ¢o6?8?¢eμ=≪gANX
[issued] => 1231325616
[lifetime] => 1171057
[assoc_type] => HMAC-SHA1
)
[endpoint] => Auth_OpenID_ServiceEndpoint Object
(
[claimed_id] =>
[server_url] => https://mixi.jp/openid_server.pl
[type_uris] => Array
(
[0] => http://specs.openid.net/auth/2.0/server
[1] => http://openid.net/sreg/1.0
[2] => http://openid.net/extensions/sreg/1.1
[3] => http://openid.net/srv/ax/1.0
)
[local_id] =>
[canonicalID] =>
[used_yadis] => 1
[display_identifier] =>
)
[return_to_args] => Array
(
[janrain_nonce] => 2009-01-07T14:42:31Zy6LwKh
)
[message] => Auth_OpenID_Message Object
(
[allowed_openid_namespaces] => Array
(
[0] => http://openid.net/signon/1.0
[1] => http://openid.net/signon/1.1
[2] => http://specs.openid.net/auth/2.0
)
[args] => Auth_OpenID_Mapping Object
(
[keys] => Array
(
[0] => Array
(
[0] => http://openid.net/extensions/sreg/1.1
[1] => required
)
[1] => Array
(
[0] => http://openid.net/extensions/sreg/1.1
[1] => optional
)
)
[values] => Array
(
[0] => nickname
[1] => fullname,email
)
)
[namespaces] => Auth_OpenID_NamespaceMap Object
(
[alias_to_namespace] => Auth_OpenID_Mapping Object
(
[keys] => Array
(
[0] => Null namespace
[1] => sreg
)
[values] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => http://openid.net/extensions/sreg/1.1
)
)
[namespace_to_alias] => Auth_OpenID_Mapping Object
(
[keys] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => http://openid.net/extensions/sreg/1.1
)
[values] => Array
(
[0] => Null namespace
[1] => sreg
)
)
[implicit_namespaces] => Array
(
)
)
[_openid_ns_uri] => http://specs.openid.net/auth/2.0
)
[_anonymous] =>
)
+++++++++++++++++++
openid_pem=C:\user\php\openid_sample\cacert.pem
store_path=C:\user\php\_php_consumer_dir
scheme=http
return_to=http://night:80/php/openid_sample/return.php
trust_root=http://night:80/php/openid_sample/
window??・
php_curl.dll load
php_openssl.dll load
Auth_OpenID_FileStore Object
(
[directory] => C:\user\php\_php_consumer_dir
[active] => 1
[nonce_dir] => C:\user\php\_php_consumer_dir\nonces
[association_dir] => C:\user\php\_php_consumer_dir\associations
[temp_dir] => C:\user\php\_php_consumer_dir\temp
[max_nonce_age] => 21600
)
Auth_OpenID_Consumer Object
(
[discoverMethod] => Auth_OpenID_discover
[session_key_prefix] => _openid_consumer_
[_token_suffix] => last_token
[session] => Auth_Yadis_PHPSession Object
(
)
[consumer] => Auth_OpenID_GenericConsumer Object
(
[discoverMethod] => Auth_OpenID_discover
[store] => Auth_OpenID_FileStore Object
(
[directory] => C:\user\php\_php_consumer_dir
[active] => 1
[nonce_dir] => C:\user\php\_php_consumer_dir\nonces
[association_dir] => C:\user\php\_php_consumer_dir\associations
[temp_dir] => C:\user\php\_php_consumer_dir\temp
[max_nonce_age] => 21600
)
[_use_assocs] => 1
[openid1_nonce_query_arg_name] => janrain_nonce
[openid1_return_to_identifier_name] => openid1_claimed_id
[negotiator] => Auth_OpenID_SessionNegotiator Object
(
[allowed_types] => Array
(
[0] => Array
(
[0] => HMAC-SHA1
[1] => DH-SHA1
)
[1] => Array
(
[0] => HMAC-SHA256
[1] => DH-SHA256
)
[2] => Array
(
[0] => HMAC-SHA1
[1] => no-encryption
)
[3] => Array
(
[0] => HMAC-SHA256
[1] => no-encryption
)
)
)
[fetcher] => Auth_Yadis_ParanoidHTTPFetcher Object
(
[timeout] => 20
[headers] => Array
(
)
[data] =>
)
[session_types] => Array
(
[no-encryption] => Auth_OpenID_PlainTextConsumerSession
[DH-SHA1] => Auth_OpenID_DiffieHellmanSHA1ConsumerSession
[DH-SHA256] => Auth_OpenID_DiffieHellmanSHA256ConsumerSession
)
)
[_token_key] => _openid_consumer_last_token
)
Auth_OpenID_SuccessResponse Object
(
[status] => success
[endpoint] => Auth_OpenID_ServiceEndpoint Object
(
[claimed_id] => https://id.mixi.jp/xxxxxxx
[server_url] => https://mixi.jp/openid_server.pl
[type_uris] => Array
(
[0] => http://specs.openid.net/auth/2.0/signon
[1] => http://openid.net/sreg/1.0
[2] => http://openid.net/extensions/sreg/1.1
[3] => http://openid.net/srv/ax/1.0
)
[local_id] =>
[canonicalID] =>
[used_yadis] => 1
[display_identifier] =>
)
[identity_url] => https://id.mixi.jp/xxxxxxx
[signed_args] => Array
(
[0] => openid.mode
[1] => openid.claimed_id
[2] => openid.identity
[3] => openid.op_endpoint
[4] => openid.return_to
[5] => openid.response_nonce
[6] => openid.assoc_handle
[7] => openid.ns.sreg
[8] => openid.sreg.nickname
)
[message] => Auth_OpenID_Message Object
(
[allowed_openid_namespaces] => Array
(
[0] => http://openid.net/signon/1.0
[1] => http://openid.net/signon/1.1
[2] => http://specs.openid.net/auth/2.0
)
[args] => Auth_OpenID_Mapping Object
(
[keys] => Array
(
[0] => Array
(
[0] => Bare namespace
[1] => janrain_nonce
)
[1] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => mode
)
[2] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => claimed_id
)
[3] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => identity
)
[4] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => op_endpoint
)
[5] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => return_to
)
[6] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => response_nonce
)
[7] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => assoc_handle
)
[8] => Array
(
[0] => http://openid.net/extensions/sreg/1.1
[1] => nickname
)
[9] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => signed
)
[10] => Array
(
[0] => http://specs.openid.net/auth/2.0
[1] => sig
)
)
[values] => Array
(
[0] => 2009-01-07T14:42:31Zy6LwKh
[1] => id_res
[2] => https://id.mixi.jp/xxxxxxx
[3] => https://id.mixi.jp/xxxxxxx
[4] => https://mixi.jp/openid_server.pl
[5] => http://night:80/php/openid_sample/return.php?janrain_nonce=2009-01-07T14%3A42%3A31Zy6LwKh
[6] => 2009-01-07T14:31:25ZePe5zP
[7] => 1231324943:T8Ulzozzozep0uWCDm8v:4adf3df5e7
[8] => night wálker
[9] => mode,claimed_id,identity,op_endpoint,return_to,response_nonce,assoc_handle,ns.sreg,sreg.nickname
[10] => VsSUQCMwGtKc9CK+9SKviv8zFrw=
)
)
[namespaces] => Auth_OpenID_NamespaceMap Object
(
[alias_to_namespace] => Auth_OpenID_Mapping Object
(
[keys] => Array
(
[0] => sreg
[1] => Null namespace
)
[values] => Array
(
[0] => http://openid.net/extensions/sreg/1.1
[1] => http://specs.openid.net/auth/2.0
)
)
[namespace_to_alias] => Auth_OpenID_Mapping Object
(
[keys] => Array
(
[0] => http://openid.net/extensions/sreg/1.1
[1] => http://specs.openid.net/auth/2.0
)
[values] => Array
(
[0] => sreg
[1] => Null namespace
)
)
[implicit_namespaces] => Array
(
)
)
[_openid_ns_uri] => http://specs.openid.net/auth/2.0
)
)
Auth_OpenID_SRegResponse Object
(
[ns_alias] => sreg
[ns_uri] => http://openid.net/extensions/sreg/1.1
[data] => Array
(
[nickname] => night wálker
)
)
Array
(
[nickname] => night wálker
)
|
|