CrossPHP

RedisAuth
in package
implements HttpAuthInterface

Tags
author

wonli wonli@live.com Class RedisAuth

Interfaces, Classes and Traits

HttpAuthInterface
Interface HttpAuthInterface

Table of Contents

$authKeyPrefix  : string
auth key前缀
__construct()  : mixed
RedisAuth constructor.
get()  : bool|mixed
获取session的值
set()  : bool|mixed
设置session的值

Properties

$authKeyPrefix

auth key前缀

protected string $authKeyPrefix

Methods

__construct()

RedisAuth constructor.

public __construct() : mixed
Return values
mixed

get()

获取session的值

public get(string $key[, bool $deCode = false ]) : bool|mixed
Parameters
$key : string
$deCode : bool = false
Tags
throws
CoreException
Return values
bool|mixed

set()

设置session的值

public set(string $key, string|array<string|int, mixed> $value, int $expire) : bool|mixed
Parameters
$key : string
$value : string|array<string|int, mixed>
$expire : int
Tags
throws
CoreException
Return values
bool|mixed

Search results