PHP Класс Swiftriver\Core\DAL\Repositories\APIKeyRepository

Автор: mg[at]swiftly[dot]org
Показать файл Открыть проект

Открытые методы

Метод Описание
AddRegisteredAPIKey ( string $key ) : boolean Adds a new API key to the list of registered API Keys Returns true on sucess
IsRegisterdCoreAPIKey ( string $key ) : boolean Checks that the provided Key is registed against this install of the Core Returns true on sucess
RemoveRegisteredAPIKey ( string $key ) : boolean Removes a registered API key Returns true on sucess
__construct ( string $dataContext = null ) The constructor for this repository Accepts the fully qulaified type of the IAPIKeyDataContext implemting data context for this repository

Описание методов

AddRegisteredAPIKey() публичный Метод

Adds a new API key to the list of registered API Keys Returns true on sucess
public AddRegisteredAPIKey ( string $key ) : boolean
$key string
Результат boolean

IsRegisterdCoreAPIKey() публичный Метод

Checks that the provided Key is registed against this install of the Core Returns true on sucess
public IsRegisterdCoreAPIKey ( string $key ) : boolean
$key string
Результат boolean

RemoveRegisteredAPIKey() публичный Метод

Removes a registered API key Returns true on sucess
public RemoveRegisteredAPIKey ( string $key ) : boolean
$key string
Результат boolean

__construct() публичный Метод

The constructor for this repository Accepts the fully qulaified type of the IAPIKeyDataContext implemting data context for this repository
public __construct ( string $dataContext = null )
$dataContext string