You are here

public function CliServiceInterface::createEdgeRoleForDrupal in Apigee Edge 8

Create an Apigee role for Drupal use.

Parameters

\Symfony\Component\Console\Style\StyleInterface $io: The IO interface of the CLI tool calling the method.

callable $t: The translation function akin to t().

string $org: The organization to connect to.

string $email: The email of an Edge user with org admin role to make Edge API calls.

string $password: The password of an Edge user with org admin role to make Edge API calls.

string|null $base_url: The base url of the Edge API.

string|null $role_name: The role name to add the permissions to.

bool|null $force: Force permissions to be set even if role exists.

1 method overrides CliServiceInterface::createEdgeRoleForDrupal()
CliService::createEdgeRoleForDrupal in src/CliService.php
Create an Apigee role for Drupal use.

File

src/CliServiceInterface.php, line 59

Class

CliServiceInterface
Defines an interface for CLI service classes.

Namespace

Drupal\apigee_edge

Code

public function createEdgeRoleForDrupal(StyleInterface $io, callable $t, string $org, string $email, string $password, ?string $base_url, ?string $role_name, ?bool $force);