Skip to content

Commit

Permalink
Merge pull request #17 from masastack/feature/identityClaimConsts
Browse files Browse the repository at this point in the history
♻ refactor: Identity Claims Consts adjustment
  • Loading branch information
wzh425 authored Aug 17, 2024
2 parents eab8c99 + 795870f commit 54cb01f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ public static class IdentityClaimConsts
public const string ENVIRONMENT = "environment";
public const string CURRENT_TEAM = "current_team";
public const string STAFF = "staff_id";
public const string PHONE_NUMBER = "phone_number";
public const string PHONE_NUMBER = "phoneNumber";
public const string EMAIL = "email";
public const string USER_ID = "sub";
public const string USER_NAME = "userName";
public const string IMPERSONATOR_USER_ID = $"{DEFAULT_PREFIX}/impersonatorUserId";
public const string DOMAIN_NAME = $"{DEFAULT_PREFIX}/domainName";
private const string DEFAULT_PREFIX = "https://masastack.com/security/identity/claims";
}

0 comments on commit 54cb01f

Please sign in to comment.