Add project files.

This commit is contained in:
2023-04-29 09:17:17 +03:00
commit 62178f1f32
493 changed files with 45863 additions and 0 deletions
@@ -0,0 +1,5 @@
namespace MyOffice.Web.Identity.Domain;
public class ApplicationRole
{
}
@@ -0,0 +1,16 @@
namespace MyOffice.Web.Identity.Domain;
public class ApplicationUser<TKey>
{
#pragma warning disable CS8618 // Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public TKey Id { get; set; }
#pragma warning restore CS8618 // Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public string UserName { get; set; } = null!;
public string Email { get; set; } = null!;
public string PasswordHash { get; set; } = null!;
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? FullName { get; set; }
public bool IsEmailConfirmed { get; set; }
}
@@ -0,0 +1,19 @@
namespace MyOffice.Web.Identity.Domain;
public class ExternalProvidersConfig
{
public class Auth0Config
{
public string? ClientId { get; set; }
public string? Domain { get; set; }
public string? SecretKey { get; set; }
}
public class GoogleConfig
{
public string? ClientId { get; set; }
}
public Auth0Config? Auth0 { get; set; }
public GoogleConfig? Google { get; set; }
}