You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

See also: Writing Registry Plugins

Some additional conventions are required when writing an Authenticator Plugin.

  1. The name of the Plugin should match the format FooAuthenticator.
  2. The Plugin should implement a model FooAuthenticator, and a corresponding Controller. (These are in addition to the other models and controllers required for Plugins.)
    1. This Model should extend AuthenticatorBackend, which defines some standard interfaces and provides some behind the scenes common functionality.
    2. The Controller should to extend SAuthController ("Standard Authenticator" Controller), which provides some common functionality common.
    3. When a new Authenticator is created, a skeletal row in the corresponding co_foo_authenticators table will be created. There is no add operation or view required. The skeletal row will point to the parent Authenticator.
    4. 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.
  • No labels