Added endpoint for registering a user locally after successful logon from Auth0

This commit is contained in:
Carl Tibule
2023-01-25 22:47:05 -06:00
parent e0b38beff6
commit 406bd9a0d1
16 changed files with 267 additions and 47 deletions

View File

@ -0,0 +1,22 @@
using YABA.Common.Attributes;
namespace YABA.Common.Lookups
{
public enum ClaimsLookup
{
[ClaimNameAttribute("https://dev.iwanaga.moe/api/auth_provider_id")]
AuthProviderId = 1,
[ClaimNameAttribute("https://dev.iwanaga.moe/api/email_address")]
UserEmail = 2,
[ClaimNameAttribute("https://dev.iwanaga.moe/api/email_verified")]
IsEmailConfirmed = 3,
[ClaimNameAttribute("https://dev.iwanaga.moe/api/username")]
Username = 4,
[ClaimNameAttribute("https://dev.iwanaga.moe/api/id")]
UserId = 5
}
}