See also: Writing Registry Plugins
Some additional conventions are required when writing an Authenticator Plugin.
- The name of the Plugin should match the format
FooAuthenticator
. - The Plugin should implement a model
FooAuthenticator
, and a corresponding Controller. (These are in addition to the other models and controllers required for Plugins.)- This Model should extend
AuthenticatorBackend
, which defines some standard interfaces and provides some behind the scenes common functionality. - The Controller should to extend
SAuthController
("Standard Authenticator" Controller), which provides some common functionality common. - When a new Authenticator is created, a skeletal row in the corresponding
co_foo_authenticators
table will be created. There is noadd
operation or view required. The skeletal row will point to the parent Authenticator. - When an Authenticator is edited, the entry point to the Plugin will be
foo_authenticator/foo_authenticators/edit/#
. This will be called immediately after the parent Authenticator is created.
- This Model should extend