initial commit

This commit is contained in:
2026-07-21 13:59:38 +07:00
commit c40792266a
1321 changed files with 100465 additions and 0 deletions
@@ -0,0 +1,13 @@
using Indotalent.Infrastructure.Authentication.Identity;
using Microsoft.Extensions.Options;
namespace Indotalent.Infrastructure.Authentication.Firebase;
public class FirebaseService(IOptions<IdentitySettingsModel> options)
{
private readonly IdentitySettingsModel _settings = options.Value;
public IdentitySettingsModel GetConfiguration() => _settings;
public FirebaseSettingsModel GetDefaultAdmin() => _settings.SsoFirebase;
}
@@ -0,0 +1,13 @@
namespace Indotalent.Infrastructure.Authentication.Firebase;
public class FirebaseSettingsModel
{
public bool IsUsed { get; set; }
public bool OpenForPublic { get; set; }
public string ApiKey { get; set; } = string.Empty;
public string AuthDomain { get; set; } = string.Empty;
public string ProjectId { get; set; } = string.Empty;
public string StorageBucket { get; set; } = string.Empty;
public string MessagingSenderId { get; set; } = string.Empty;
public string AppId { get; set; } = string.Empty;
}