InMemoryAuthRepository<TUserAuth, TUserAuthDetails>
Thread-safe In memory UserAuth data store so it can be used without a dependency on Redis.
Assembly: ServiceStack.dll
View Source
Declaration
public class InMemoryAuthRepository<TUserAuth, TUserAuthDetails> : RedisAuthRepository<TUserAuth, TUserAuthDetails>, IQueryUserAuth, IUserAuthRepositoryAsync, IAuthRepositoryAsync, IClearableAsync, IManageApiKeysAsync, IQueryUserAuthAsync, IMemoryAuthRepository, IUserAuthRepository, IAuthRepository, IClearable, IManageApiKeys, ICustomUserAuth where TUserAuth : class, IUserAuth where TUserAuthDetails : class, IUserAuthDetails
Properties
Sets
View Source
Declaration
public Dictionary<string, HashSet<string>> Sets { get; set; }
Hashes
View Source
Declaration
public Dictionary<string, Dictionary<string, string>> Hashes { get; set; }
Fields
Instance
View Source
Declaration
public static readonly InMemoryAuthRepository<TUserAuth, TUserAuthDetails> Instance
Implements
- ServiceStack.Auth.IQueryUserAuth
- ServiceStack.Auth.IUserAuthRepositoryAsync
- ServiceStack.Auth.IAuthRepositoryAsync
- ServiceStack.Auth.IClearableAsync
- ServiceStack.Auth.IManageApiKeysAsync
- ServiceStack.Auth.IQueryUserAuthAsync
- ServiceStack.Auth.IMemoryAuthRepository
- ServiceStack.Auth.IUserAuthRepository
- ServiceStack.Auth.IAuthRepository
- ServiceStack.Auth.IClearable
- ServiceStack.Auth.IManageApiKeys
- ServiceStack.Auth.ICustomUserAuth