PNAccessManagerUserData
extends PNPAMEntityData
in package
Table of Contents
Properties
- $authKeys : array<string|int, mixed>
- $deleteEnabled : bool
- $getEnabled : bool
- $joinEnabled : bool
- $manageEnabled : bool
- $name : string
- $readEnabled : bool
- $ttl : int
- $updateEnabled : bool
- $writeEnabled : bool
Methods
- __construct() : mixed
- PNPAMEntityData constructor.
- fromJson() : mixed
- getAuthKeys() : array<string|int, PNAccessManagerKeyData>
- getName() : string
- getTtl() : int
- isDeleteEnabled() : bool
- isGetEnabled() : bool
- isJoinEnabled() : bool
- isManageEnabled() : bool
- isReadEnabled() : bool
- isUpdateEnabled() : bool
- isWriteEnabled() : bool
Properties
$authKeys
protected
array<string|int, mixed>
$authKeys
$deleteEnabled
protected
bool
$deleteEnabled
$getEnabled
protected
bool
$getEnabled
$joinEnabled
protected
bool
$joinEnabled
$manageEnabled
protected
bool
$manageEnabled
$name
protected
string
$name
$readEnabled
protected
bool
$readEnabled
$ttl
protected
int
$ttl
$updateEnabled
protected
bool
$updateEnabled
$writeEnabled
protected
bool
$writeEnabled
Methods
__construct()
PNPAMEntityData constructor.
public
__construct(string $name, array<string|int, mixed> $authKeys, bool $readEnabled, bool $writeEnabled, bool $manageEnabled, mixed $deleteEnabled, bool $getEnabled, bool $updateEnabled, bool $joinEnabled, int $ttl) : mixed
Parameters
- $name : string
- $authKeys : array<string|int, mixed>
- $readEnabled : bool
- $writeEnabled : bool
- $manageEnabled : bool
- $deleteEnabled : mixed
- $getEnabled : bool
- $updateEnabled : bool
- $joinEnabled : bool
- $ttl : int
fromJson()
public
static fromJson(mixed $name, mixed $jsonInput) : mixed
Parameters
- $name : mixed
- $jsonInput : mixed
getAuthKeys()
public
getAuthKeys() : array<string|int, PNAccessManagerKeyData>
Return values
array<string|int, PNAccessManagerKeyData>getName()
public
getName() : string
Return values
stringgetTtl()
public
getTtl() : int
Return values
intisDeleteEnabled()
public
isDeleteEnabled() : bool
Return values
boolisGetEnabled()
public
isGetEnabled() : bool
Return values
boolisJoinEnabled()
public
isJoinEnabled() : bool
Return values
boolisManageEnabled()
public
isManageEnabled() : bool
Return values
boolisReadEnabled()
public
isReadEnabled() : bool
Return values
boolisUpdateEnabled()
public
isUpdateEnabled() : bool
Return values
boolisWriteEnabled()
public
isWriteEnabled() : bool