UNICORN - server side
静的公開メンバ関数 | 静的公開変数類 | 静的限定公開メンバ関数 | 静的限定公開変数類 | 全メンバ一覧
Auth クラス

静的公開メンバ関数

static init ($argDSN=NULL)
 
static getEncryptedAuthIdentifier ($argIdentifier=NULL)
 
static getDecryptedAuthIdentifier ($argIdentifier=NULL)
 
static getCertifiedUser ($argDSN=NULL)
 
static isCertification ($argDSN=NULL)
 
static certify ($argID=NULL, $argPass=NULL, $argDSN=NULL, $argExecut=FALSE)
 
static unCertify ($argDSN=NULL)
 
static getRegisteredUser ($argID=NULL, $argPass=NULL, $argDSN=NULL)
 
static isRegistered ($argID=NULL, $argPass=NULL, $argDSN=NULL)
 
static registration ($argID=NULL, $argPass=NULL, $argDate=NULL, $argDSN=NULL)
 

静的公開変数類

static $authTable = 'user_table'
 
static $authPKeyField = 'id'
 
static $authIDField = 'mailaddress'
 
static $authPassField = 'password'
 
static $authCreatedField = 'create_date'
 
static $authModifiedField = 'modify_date'
 
static $authIDEncrypted = 'AES128CBC'
 
static $authPassEncrypted = 'SHA256'
 

静的限定公開メンバ関数

static _init ($argDSN=NULL)
 
static _resolveEncrypted ($argString, $argAlgorism=NULL)
 

静的限定公開変数類

static $_sessionCryptKey = NULL
 
static $_sessionCryptIV = NULL
 
static $_authCryptKey = NULL
 
static $_authCryptIV = NULL
 
static $_DBO = NULL
 
static $_initialized = FALSE
 

関数詳解

static Auth::_resolveEncrypted (   $argString,
  $argAlgorism = NULL 
)
staticprotected

登録済みかどうか

引数
string$argDSN
static Auth::certify (   $argID = NULL,
  $argPass = NULL,
  $argDSN = NULL,
  $argExecut = FALSE 
)
static

認証を証明する(ログインしてセッションを発行する)

引数
string認証ID
string認証パスワード
stringDB接続情報
string強制再認証
static Auth::getCertifiedUser (   $argDSN = NULL)
static

認証が証明済みのユーザーモデルを返す

引数
stringDB接続情報
static Auth::getRegisteredUser (   $argID = NULL,
  $argPass = NULL,
  $argDSN = NULL 
)
static

登録済みかどうか

引数
string$argDSN
static Auth::isCertification (   $argDSN = NULL)
static

認証が証明済みかどうか(セッションが既にあるかどうか)

引数
stringDB接続情報
static Auth::isRegistered (   $argID = NULL,
  $argPass = NULL,
  $argDSN = NULL 
)
static

登録済みかどうか

引数
string$argDSN
static Auth::registration (   $argID = NULL,
  $argPass = NULL,
  $argDate = NULL,
  $argDSN = NULL 
)
static

登録する

引数
stringDB接続情報
static Auth::unCertify (   $argDSN = NULL)
static

認証を非証明する(ログアウトする)

引数
stringDB接続情報

このクラス詳解は次のファイルから抽出されました: