Docs »

Plugins »

Extension Points »

Connected Service Provider

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

Amazon Web Services cerb.service.provider.aws
Cerb API (Legacy Signatures) cerb.service.provider.cerb.api.legacy
Facebook Pages wgm.facebook.pages.service.provider
HTTP Basic Authentication cerb.service.provider.http.basic
LDAP cerb.service.provider.ldap
OAuth1 Provider cerb.service.provider.oauth1
OAuth2 Provider cerb.service.provider.oauth2
OpenID Connect Identity Provider cerb.service.provider.oidc
SAML Identity Provider cerb.service.provider.saml.idp
Token Bearer cerb.service.provider.token.bearer