previousストレージドライバ (Previous) (Next) Auth_Container_DBnext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Auth_Container_Array

Auth_Container_Array – ユーザ名とパスワードの配列を使用して認証を行う

Array

このストレージコンテナは、少数の ユーザ名/パスワード のペアをスクリプトのソースコード中に保存する機能を提供します。

Auth コンストラクタ() でのこのストレージ固有のオプションは、オプションの配列です。

使用可能なオプション
オプション データ型 デフォルト値 説明
"cryptType" string "none" パスワードを保存する際の暗号化方式。
"users" array array() ユーザ名およびパスワードハッシュの連想配列。
<?php
array(
    
'guest' => '084e0343a0486ff05530df6c705c8bb4'// パスワードは guest
    
'georg' => 'fc77dba827fcc88e0243404572c51325' // パスワードは georg
)
?>

previousストレージドライバ (Previous) (Next) Auth_Container_DBnext

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.