TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rsaauth\Storage\StorageFactory Class Reference
Inheritance diagram for TYPO3\CMS\Rsaauth\Storage\StorageFactory:
tx_rsaauth_storagefactory

Static Public Member Functions

static getStorage ()
 
static setPreferredStorage ($preferredStorage)
 

Static Protected Attributes

static $preferredStorage = 'TYPO3\\CMS\\Rsaauth\\Storage\\SplitStorage'
 
static $storageInstance = NULL
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! This class contains a factory for the RSA backends.

Author
Dmitry Dulepov dmitr.nosp@m.y@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 21 of file StorageFactory.php.

Member Function Documentation

◆ getStorage()

static TYPO3\CMS\Rsaauth\Storage\StorageFactory::getStorage ( )
static

Obtains a storage. This function will return a non-abstract class, which is derived from . Applications should not use any methods that are not declared in the .

Returns
A storage

Definition at line 50 of file StorageFactory.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj().

Referenced by TYPO3\CMS\Rsaauth\Backend\AjaxLoginHandler\getRsaPublicKey().

◆ setPreferredStorage()

static TYPO3\CMS\Rsaauth\Storage\StorageFactory::setPreferredStorage (   $preferredStorage)
static

Sets the preferred storage to the factory. This method can be called from another extension or ext_localconf.php

Parameters
string$preferredStoragePreferred storage
Returns
void

Definition at line 64 of file StorageFactory.php.

References TYPO3\CMS\Rsaauth\Storage\StorageFactory\$preferredStorage.

Member Data Documentation

◆ $preferredStorage

TYPO3\CMS\Rsaauth\Storage\StorageFactory::$preferredStorage = 'TYPO3\\CMS\\Rsaauth\\Storage\\SplitStorage'
staticprotected

◆ $storageInstance

TYPO3\CMS\Rsaauth\Storage\StorageFactory::$storageInstance = NULL
staticprotected

Definition at line 41 of file StorageFactory.php.