Docs »

Plugins »

Extension Points »

Support Center Login Authenticator

Name: Support Center Login Authenticator
Identifier (ID): usermeet.login.authenticator

Manifest

		<extension point=&quot;usermeet.login.authenticator&quot;>
			<id>sc.login.auth.ldap</id>
			<name>LDAP</name>
			<class>
				<file>api/App.php</file>
				<name>ScLdapLoginAuthenticator</name>
			</class>
			<params>
				<param key=&quot;switcher_icon&quot; value=&quot;images/fugue/address-book.png&quot;/>
				<param key=&quot;switcher_label&quot; value=&quot;Log in with LDAP&quot;/>
			</params>
		</extension>

Code

class ExampleExtension extends Extension_ScLoginAuthenticator {
	/**
	 * draws html form for adding necessary settings (host, port, etc) to be stored in the db
	 */
	public function renderConfigForm(Model_CommunityTool $instance) {
	}

	/**
	 * Receives posted config form, saves to manifest
	 */
	public function saveConfiguration(Model_CommunityTool $instance) {
	}

	/**
	 * release any resources tied up by the authenticate process, if necessary
	 */
	public function signoff() {
	}

	public function writeResponse(DevblocksHttpResponse $response) {
	}
}

Extensions

Cerb (Default) sc.login.auth.default
LDAP sc.login.auth.ldap