Environment name will be pulled from environment variable: ASPNETCORE_ENVIRONMENT
23 lines
791 B
C#
23 lines
791 B
C#
using YABA.Common.Attributes;
|
|
|
|
namespace YABA.Common.Lookups
|
|
{
|
|
public enum ClaimsLookup
|
|
{
|
|
[ClaimName("https://auth.dev.iwanaga.moe/api/auth_provider_id", "https://auth.iwanaga.moe/api/auth_provider_id")]
|
|
AuthProviderId = 1,
|
|
|
|
[ClaimName("https://auth.dev.iwanaga.moe/api/email_address", "https://auth.iwanaga.moe/api/email_address")]
|
|
UserEmail = 2,
|
|
|
|
[ClaimName("https://auth.dev.iwanaga.moe/api/email_verified", "https://auth.iwanaga.moe/api/email_verified")]
|
|
IsEmailConfirmed = 3,
|
|
|
|
[ClaimName("https://auth.dev.iwanaga.moe/api/username", "https://auth.iwanaga.moe/api/username")]
|
|
Username = 4,
|
|
|
|
[ClaimName("https://auth.dev.iwanaga.moe/api/id", "https://auth.iwanaga.moe/api/id")]
|
|
UserId = 5
|
|
}
|
|
}
|