You are here

public function ApigeeEdgeManagementCliServiceInterface::createEdgeRoleForDrupal in Apigee Edge 8

Create role in Apigee Edge for Drupal to use for Edge connection.

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.

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

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

null|bool $force: Force running of permissions on a role that already exists.

1 method overrides ApigeeEdgeManagementCliServiceInterface::createEdgeRoleForDrupal()
ApigeeEdgeManagementCliService::createEdgeRoleForDrupal in src/Command/Util/ApigeeEdgeManagementCliService.php
Create role in Apigee Edge for Drupal to use for Edge connection.

File

src/Command/Util/ApigeeEdgeManagementCliServiceInterface.php, line 52

Class

ApigeeEdgeManagementCliServiceInterface
Defines an interface for Edge connection classes.

Namespace

Drupal\apigee_edge\Command\Util

Code

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