LiteDB Auth provider for ServiceStack
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md

README.md

ServiceStack.Authentication.LiteDB

LiteDB Auth provider for ServiceStack - If you want to use https://github.com/mbdavid/LiteDB as a IAuthRepository authorization implementation in ServiceStack.

Install Package

Install-Package CaveBirdLabs.ServiceStack.Authentication.LiteDB

How to register

container.Register(c => new LiteDatabase(@"MyData.db")).ReusedWithin(ReuseScope.Container);
container.Register<IAuthRepository>(c => 
                                    new LiteDBAuthRepository(container.Resolve<LiteDatabase>(), true));