Overview

Meta-container for the current user to hold auth and roles.

When prefs and permissions come along, will hold those too.

Package

This class is part of the Solar package.

Inheritance:

Configuration Keys

  • auth: A Solar_Auth dependency injection to deal with user authentication and identification.

  • role: A Solar_Role dependency injection to read the user roles.

  • access: A Solar_Access dependency injection to deal with user authorization and access.

Constants

None.

Public Properties

These are all the public properties in the Solar_User class.

You can also view the list of all public, protected, and private properties.

$access

Authorized access object.

$auth

User authentication object.

$role

User roles (group membership) object.

Public Methods

These are all the public methods in the Solar_User class.

You can also view the list of all public, protected, and private methods.

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

locale()

Looks up class-specific locale strings based on a key.



Local