CoolCMS API

ApiClientAuthentication
in package

FinalYes

Result of verifying an application key: the status and, for a valid key, the client identity.

For a disabled, revoked or expired key it carries only the client and key ids (for the auth log) and no identity, because such a client must not be allowed to do anything.

Table of Contents

Properties

$clientId  : int|null
$identity  : ApiClientIdentity|null
$keyId  : int|null
$status  : ApiClientKeyStatus

Methods

isValid()  : bool
refused()  : self
valid()  : self
__construct()  : mixed

Properties

Methods

On this page

Search results