PHP Класс ImboCli\Command\AddPublicKey

Автор: Espen Hovlandsdal ([email protected])
Наследование: extends ImboCli\Command\Command
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( )

Защищенные методы

Метод Описание
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Приватные методы

Метод Описание
askForAnotherAclRule ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : boolean Ask the user if she wants to add more ACL-rules
askForCustomResources ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | string Ask the user which custom resources the public key should have access to
askForPrivateKey ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string Ask the user for a private key (or generate one if user does not specify)
askForResources ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array Ask user which resources the public key should have access to
askForSpecificResources ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array Ask user which specific resources the public key should have access to
askForUsers ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | string Ask the user which users the public key should have access to (for the current ACL-rule)
getAclAdapter ( ) : Imbo\Auth\AccessControl\Adapter\MutableAdapterInterface Get the configured ACL adapter and ensure it is mutable

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

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

public __construct ( )

execute() защищенный Метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface