コード例 #1
0
ファイル: Consumer.php プロジェクト: raphox/php-openid
 /**
  * Get a complete html document that will autosubmit the request
  * to the IDP.
  *
  * Wraps formMarkup.  See the documentation for that function.
  */
 function htmlMarkup($realm, $return_to = null, $immediate = false, $form_tag_attrs = null)
 {
     $form = $this->formMarkup($realm, $return_to, $immediate, $form_tag_attrs);
     if (Auth_OpenID::isFailure($form)) {
         return $form;
     }
     return Auth_OpenID::autoSubmitHTML($form);
 }
コード例 #2
0
ファイル: Server.php プロジェクト: hoalangoc/ftf
	function toHTML()
	{
		return Auth_OpenID::autoSubmitHTML($this->toFormMarkup());
	}
コード例 #3
0
ファイル: library.php プロジェクト: nouphet/rata
 /**
  * Return a html document that will autosubmit the request to the IDP.
  *
  * @return string
  */
 function autoSubmitHTML()
 {
     return Auth_OpenID::autoSubmitHTML($this->getSubmitForm("Continue"));
 }