Add provider-neutral Google authentication
This commit is contained in:
@@ -8,12 +8,17 @@ public sealed class AuthDataInitializer(
|
||||
AuthUserStore users,
|
||||
TokenBlacklistStore blacklist,
|
||||
SteamAuthTransactionStore steamTransactions,
|
||||
ExternalIdentityStore externalIdentities,
|
||||
ExternalAuthTransactionStore externalTransactions,
|
||||
PasswordResetStore passwordResets,
|
||||
ILogger<AuthDataInitializer> logger)
|
||||
{
|
||||
public async Task InitializeAsync()
|
||||
{
|
||||
await BackfillNormalizedEmailsAsync();
|
||||
await externalIdentities.BackfillSteamAsync(logger);
|
||||
await externalIdentities.EnsureIndexesAsync();
|
||||
await externalTransactions.EnsureIndexesAsync();
|
||||
|
||||
await users.Collection.Indexes.CreateManyAsync([
|
||||
new CreateIndexModel<AuthUser>(
|
||||
|
||||
Reference in New Issue
Block a user