using Microsoft.AspNetCore.Identity;
using Raven.Client.Documents;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using zero.Core.Entities;
namespace zero.Web.Identity
{
///
/// UserStore for entities in a RavenDB database.
///
public class BackofficeUserStore :
IUserStore,
IUserClaimStore,
IUserRoleStore,
IUserLockoutStore,
IUserSecurityStampStore,
IUserPasswordStore,
IQueryableUserStore,
IUserTwoFactorStore,
IUserTwoFactorRecoveryCodeStore,
IDisposable
where TUser : class, IUser, new()
{
///
/// Gets the database context for this store.
///
IDocumentStore Raven { get; set; }
///
public IQueryable Users => throw new NotImplementedException();
public BackofficeUserStore(IDocumentStore raven)
{
Raven = raven ?? throw new ArgumentNullException(nameof(raven));
}
///
public Task CreateAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task DeleteAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task FindByIdAsync(string userId, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task FindByNameAsync(string normalizedUserName, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetNormalizedUserNameAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetUserIdAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetUserNameAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task SetNormalizedUserNameAsync(TUser user, string normalizedName, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task SetUserNameAsync(TUser user, string userName, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task UpdateAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public void Dispose()
{
throw new NotImplementedException();
}
///
public Task AddClaimsAsync(TUser user, IEnumerable claims, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task> GetClaimsAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task RemoveClaimsAsync(TUser user, IEnumerable claims, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task ReplaceClaimAsync(TUser user, Claim claim, Claim newClaim, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task AddToRoleAsync(TUser user, string roleName, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task> GetRolesAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task> GetUsersInRoleAsync(string roleName, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task IsInRoleAsync(TUser user, string roleName, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task RemoveFromRoleAsync(TUser user, string roleName, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetAccessFailedCountAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetLockoutEnabledAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetLockoutEndDateAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task IncrementAccessFailedCountAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task ResetAccessFailedCountAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task SetLockoutEnabledAsync(TUser user, bool enabled, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task SetLockoutEndDateAsync(TUser user, DateTimeOffset? lockoutEnd, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetSecurityStampAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task SetSecurityStampAsync(TUser user, string stamp, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetPasswordHashAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task HasPasswordAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task SetPasswordHashAsync(TUser user, string passwordHash, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task GetTwoFactorEnabledAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task SetTwoFactorEnabledAsync(TUser user, bool enabled, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task CountCodesAsync(TUser user, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task RedeemCodeAsync(TUser user, string code, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
///
public Task ReplaceCodesAsync(TUser user, IEnumerable recoveryCodes, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
}
}