mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
Add user avatar and profile feature, consolidate Auth and UserManagement features (#257)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Features.Auth.Services;
|
||||
|
||||
namespace Database.Seed.DatabaseHelpers;
|
||||
|
||||
public class NoOpTokenService : ITokenService
|
||||
{
|
||||
public string GenerateAccessToken(Guid userId, string username) => string.Empty;
|
||||
|
||||
public string GenerateRefreshToken(Guid userId, string username) => string.Empty;
|
||||
|
||||
public string GenerateConfirmationToken(Guid userId, string username) => string.Empty;
|
||||
|
||||
public Task<ValidatedToken> ValidateRefreshTokenAsync(string token) =>
|
||||
throw new NotSupportedException("Token validation is not supported during seeding.");
|
||||
|
||||
public Task<ValidatedToken> ValidateConfirmationTokenAsync(string token) =>
|
||||
throw new NotSupportedException("Token validation is not supported during seeding.");
|
||||
|
||||
public Task<RefreshTokenResult> RefreshTokenAsync(string refreshTokenString) =>
|
||||
throw new NotSupportedException("Token validation is not supported during seeding.");
|
||||
}
|
||||
Reference in New Issue
Block a user