Method | Description | |
---|---|---|
__construct ( ) | ||
sso_admin ( mixed $str_adminName, mixed $str_adminPass ) : void | 管理员 sso_admin function. | |
sso_chkmail ( mixed $str_userMail, integer $num_userId ) : 解码后数组 | 检查 邮箱 sso_chkmail function. | |
sso_chkname ( mixed $str_userName ) : 解码后数组 | 检查用户名 sso_chkname function. | |
sso_decode ( $str_code ) : void | 解码 sso_decode function. | |
sso_edit ( mixed $str_userName, string $str_userPass = "", string $str_userPassNew = "", string $str_userMailNew = "", string $str_userNick = "", string $str_userBy = "user_name", string $str_checkPass = false ) : 解码后数组 | 编辑用户 sso_edit function. | |
sso_encode ( $arr_data ) : void | 编码 sso_encode function. | |
sso_forgot ( $str_user, $str_userBy = "user_id" ) | ||
sso_install ( ) | ||
sso_login ( $str_user, mixed $str_userPass, $str_userBy = "user_name" ) : 解码后数组 | 登录 sso_login function. | |
sso_mailbox ( $str_userName, $str_userPass = "", $str_userMailNew = "", $str_userBy = "user_name", $str_checkPass = false ) | ||
sso_nomail ( $str_user, $str_userBy = "user_id" ) | ||
sso_read ( mixed $str_user, string $str_userBy = "user_id" ) : 解码后数组 | 读取用户信息 sso_read function. | |
sso_reg ( mixed $str_userName, mixed $str_userPass, string $str_userMail = "", string $str_userNick = "" ) : 解码后数组 | 注册 sso_reg function. | |
sso_signature ( mixed $arr_params ) : void | 签名 sso_signature function. | |
sso_sync_login ( mixed $num_userId ) : void | 同步登录 sso_sync_login function. | |
sso_verify ( $arr_params, mixed $str_sign ) : void | 验证签名 sso_verify function. |
Method | Description | |
---|---|---|
result_process ( $arr_get ) : void | result_process function. |
public sso_chkmail ( mixed $str_userMail, integer $num_userId ) : 解码后数组 | ||
$str_userMail | mixed | 邮箱 |
$num_userId | integer | (default: 0) 当前用户ID(默认为0,忽略) |
return | 解码后数组 | 检查结果 |
public sso_chkname ( mixed $str_userName ) : 解码后数组 | ||
$str_userName | mixed | 用户名 |
return | 解码后数组 | 检查结果 |
public sso_decode ( $str_code ) : void | ||
return | void |
public sso_edit ( mixed $str_userName, string $str_userPass = "", string $str_userPassNew = "", string $str_userMailNew = "", string $str_userNick = "", string $str_userBy = "user_name", string $str_checkPass = false ) : 解码后数组 | ||
$str_userName | mixed | 用户名 |
$str_userPass | string | (default: "") 密码 |
$str_userPassNew | string | (default: "") 新密码 |
$str_userMailNew | string | (default: "") 新邮箱 |
$str_userNick | string | (default: "") 昵称 |
$str_userBy | string | (default: "user_name") 用何种方式编辑(默认用用户名) |
$str_checkPass | string | (default: "off") 是否验证密码(默认不验证) |
return | 解码后数组 | 编辑结果 |
public sso_encode ( $arr_data ) : void | ||
return | void |
public sso_mailbox ( $str_userName, $str_userPass = "", $str_userMailNew = "", $str_userBy = "user_name", $str_checkPass = false ) |
public sso_signature ( mixed $arr_params ) : void | ||
$arr_params | mixed | |
return | void |
public sso_sync_login ( mixed $num_userId ) : void | ||
$num_userId | mixed | |
return | void |
public sso_verify ( $arr_params, mixed $str_sign ) : void | ||
$str_sign | mixed | |
return | void |