Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is a service interface, which is accessible via the service locator Lynicon.Membership.LyniconSecurityManager on the Current static property. It provides all the operations required by the CMS to handle membership. The first step of using a custom membership system with Lynicon is to build an ISecurityManager service.

Collator and Repository

Lynicon expects You can use the Data System to be configured so that a request for a User type access User records like any other content (e.g. Collator.Instance.Get<User>()).

If you want to use a custom membership system, Lynicon expects the Data System to be configured so that a request for a User type will work.  You have different options in making this workhappen:

  • Probably the most straightforward is to write an implementer of Lynicon.DataSources.IDataSource or use one of the provided ones to access your user data and return it converted to the User type.  You would then need to register Lynicon.Collators.BasicCollator for use with the User type to pass it unchanged back to the client code.
  • It might be simpler to use Lynicon.Collators.AdaptorCollator to convert the type at the collator level, this class provides facilities to make this easier to do.

...