Properties

Properties existing in the Solar_Auth_Adapter_Htpasswd class.

Public

$allow

(bool) Whether or not to allow automatic login/logout at start() time.

Inherited from Solar_Auth_Adapter.

Protected

$_Solar_Auth_Adapter

(array) Default configuration values.

Inherited from Solar_Auth_Adapter.

$_Solar_Auth_Adapter_Htpasswd

(array) Default configuration values.

$_cache

(Solar_Cache_Adapter) A cache object to retain the current user information.

Inherited from Solar_Auth_Adapter.

$_config

(array) Collection point for configuration values.

Inherited from Solar_Base.

Note that you do not define config defaults in $_config directly.

<?php
// DO NOT DO THIS
protected $_config = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

Instead, define config defaults in a protected property named for the class, withan underscore prefix.

For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.

<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

$_err

(string) The current error code string.

Inherited from Solar_Auth_Adapter.

$_handle

(string) The user-provided plaintext handle, if any.

Inherited from Solar_Auth_Adapter.

$_magic

(array) Magic "public" properties that are actually stored in the cache.

Inherited from Solar_Auth_Adapter.

The available magic properties are ...

  • status: (int) The status code of the current user authentication. The string codes are ...

    • Solar_Auth::ANON (or empty): The user is anonymous/unauthenticated (no attempt to authenticate)

    • Solar_Auth::EXPIRED: The max time for authentication has expired

    • Solar_Auth::IDLED: The authenticated user has been idle for too long

    • Solar_Auth::VALID: The user is authenticated and has not timed out

    • Solar_Auth::WRONG: The user attempted authentication but failed

  • initial: (int) The Unix time at which the handle was initially authenticated.

  • active: (string) The Unix time at which the authenticated handle was last valid.

  • handle: (string) The currently authenticated user handle.

  • email: (string) The email address of the currently authenticated user. May or may not be populated by the adapter.

  • moniker: (string) The "display name" or "full name" of the currently authenticated user. May or may not be populated by the adapter.

  • uri: (string) The URI for the currently authenticated user. May or may not be populated by the adapter.

  • uid: (mixed) The user ID (usually numeric) for the currently authenticated user. May or may not be populated by the adapter.

$_passwd

(string) The user-provided plaintext password, if any.

Inherited from Solar_Auth_Adapter.

$_request

(Solar_Request) Details on the current request.

Inherited from Solar_Auth_Adapter.

$_source

(string) The source of auth credentials, either 'get' or 'post'.

Inherited from Solar_Auth_Adapter.

Private

None.



Local