Menu

## ContextUserObject
in package

ContextUserObject.php : 10

This is the context object holding the current session

##### Tags

author

  Jet - ezrajet9@gmail.com

### Table of Contents

#### Properties

$authenticated : bool
  Turn this to true if the user is authenticated
$authExtra : array<string|int, mixed>|null
  this holds any other data about the logged-in session holder, can be user to hold user domain, user role etc
$permissions : array<string|int, mixed>|null
  Set this to the user's object
$user : object
  You can store here your user object

### Properties

#### $authenticated

ContextUserObject.php : 21

Turn this to true if the user is authenticated

`public bool $authenticated = false`

#### $authExtra

ContextUserObject.php : 32

this holds any other data about the logged-in session holder, can be user to hold user domain, user role etc

`public array<string|int, mixed>|null $authExtra = null`

#### $permissions

ContextUserObject.php : 26

Set this to the user's object

`public array<string|int, mixed>|null $permissions`

#### $user

ContextUserObject.php : 16

You can store here your user object

`public object $user`

## Search results