xplo.re Medusa Core Framework 3.1
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • ldap
  • ldap_Token
  • sspi
  • sspi_Token
  • storage
  • storage_Token

Class storage_Token

Storage authentication token.

Provides full read and write access to all fields of the reference related to the authentication token via KDC.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Set\Mutable implements Core\Mutator
Extended by Core\Field implements Core\Inquiry
Extended by Core\Field\Mutable implements Core\Variator
Extended by Core\Authentication_Token
Extended by Core\Authentication\Driver\storage_Token
Namespace: Core\Authentication\Driver
Package: Core\Authentication
Since: 3.0
Requires: PHP 5.3
Version: 2.0
Located at Authentication/Driver/storage.inc.php

Methods summary

public
# __construct( string|number|false $key, array $credentials )

Parameters

$key
Unique identifier from driver back-end of authentication token.
$credentials

Associative array of user credentials. Must at least contain the following fields:

  • string user

    Name of authenticated user. If the back-end supports normalisation, the name must be in normalised form.

  • string domain

    Domain of authenticated user. If the back-end supports normalisation, the domain must be in normalised form.

Throws

Core\Exception\Loader
Failed to load storage field module.

Since

3.0

Overrides

Core\Authentication_Token::__construct
public mixed
# getDataForKey( string $key )

Retrieves value from storage back-end.

Retrieves value from storage back-end.

Parameters

$key
Column name to retrieve value for.

Returns

mixed
Column value identified by key.

Throws

Core\Exception\UndefinedKey
Requested data field does not exist.

Since

3.0

Overrides

Core\Field::getDataForKey
public boolean
# setDataForKey( string $key, mixed $value )

Performs live-update on storage data for column assignments.

Performs live-update on storage data for column assignments.

Parameters

$key
Column name to update value for.
$value
New value to store for column identified by key.

Returns

boolean

Since

3.0

Overrides

Core\Field\Mutable::setDataForKey

Methods inherited from Core\Field\Mutable

offsetSet(), offsetUnset(), setDataForKeys(), setDataForUndefinedKey(), setKeyMasquerade(), updateMasqueradedKeys()

Methods inherited from Core\Field

getDataForKeys(), getDataForUndefinedKey(), issetDataForKey(), offsetExists(), offsetGet()

Methods inherited from Core\Set\Mutable

__set(), __unset()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), __toString(), attachMethod(), chain(), getValueForKey(), getValueForKeyPath(), getValueForUndefinedKey(), hash(), issetValueForKey(), setValueForKey(), setValueForKeyPath(), setValueForUndefinedKey(), uuid()

Constants summary

Constants inherited from Core\Object

AnyParameterType, AutochainParameterType, AutocreateParameterType, BooleanParameterType, CharParameterType, EnumParameterType, IntegerParameterType, RealParameterType, StringParameterType, UserParameterType

Properties summary

protected Core\Storage\Field $_v_proxy

Storage proxy interface to back-end user data.

Storage proxy interface to back-end user data.

Since

3.0
#

Properties inherited from Core\Authentication_Token

$_v_domain, $_v_key, $_v_user

Properties inherited from Core\Field\Mutable

$_v_masqueradedKeys

Properties inherited from Core\Field

$_v_data

Magic properties

public read-only Core\Storage\Field $proxy

Storage field result instance to access back-end user data.

Magic properties inherited from Core\Authentication_Token

$domain, $key, $user

Magic properties inherited from Core\Field\Mutable

$masqueradedKeys

Magic properties inherited from Core\Field

$data

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.1 API documentation generated by ApiGen