PHP 클래스 ImboCli\Command\AddPublicKey

저자: Espen Hovlandsdal ([email protected])
상속: extends ImboCli\Command\Command
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
__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