Skip to main content

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​