Name: |
Connected Service Provider |
Identifier (ID): |
cerb.connected_service.provider |
Manifest
<extension point="cerb.connected_service.provider">
<id>cerb.service.provider.aws</id>
<name>Amazon Web Services</name>
<class>
<file>api/service_providers/aws.php</file>
<name>ServiceProvider_Aws</name>
</class>
<params>
<param key="options">
<value>
<data key="accounts"/>
</value>
</param>
</params>
</extension>
Code
class ExampleExtension extends Extension_ConnectedServiceProvider {
public function ajaxAction()
public function authenticateHttpRequest(Model_ConnectedAccount $account, Psr\Http\Message\RequestInterface $request, array $options)
public function renderAccountConfigForm(Model_ConnectedService $service, Model_ConnectedAccount $account)
public function renderConfigForm(Model_ConnectedService $service)
public function saveAccountConfigForm(Model_ConnectedService $service, Model_ConnectedAccount $account, array $params, $error)
public function saveConfigForm(Model_ConnectedService $service, array $params, $error)
}
Extensions