CrossPHP

HttpAuth
in package

Tags
author

wonli wonli@live.com Class HttpAuth

Table of Contents

$authHandler  : HttpAuthInterface|object
factory()  : HttpAuthInterface|object
创建用于会话管理的对象

Properties

Methods

factory()

创建用于会话管理的对象

public static factory([string|object $type = 'cookie' ][, string $authKey = '' ]) : HttpAuthInterface|object
Parameters
$type : string|object = 'cookie'
 type 默认为字符串(COOKIE|SESSION|REDIS|包含命名空间的类的路径)
 也可以是一个实现了HttpAuthInterface接口的对象
$authKey : string = ''

加解密密钥

Tags
throws
CoreException
Return values
HttpAuthInterface|object

Search results