Add tenant property to user #6
| @@ -23,7 +23,7 @@ namespace Core.Thalos.BuildingBlocks | ||||
|         /// <summary> | ||||
|         /// Claim name for user's ID. | ||||
|         /// </summary> | ||||
|         public const string Id = "id"; | ||||
|         public const string Id = "_id"; | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Claim name for user's tenant name. | ||||
|   | ||||
| @@ -87,7 +87,7 @@ namespace Core.Thalos.BuildingBlocks | ||||
|                 { | ||||
|  | ||||
|                     new Claim(Claims.Name, adapter?.User?.DisplayName ?? string.Empty), | ||||
|                     new Claim(Claims.GUID, adapter?.User?.Guid ?? string.Empty), | ||||
|                     new Claim(Claims.Id, adapter?.User?.Id ?? string.Empty), | ||||
|                     new Claim(Claims.Email, adapter?.User?.Email ?? string.Empty), | ||||
|                     new Claim(Claims.Tenant, adapter?.Tenant?.Name ?? string.Empty), | ||||
|                     new Claim(Claims.Tenant, adapter?.Tenant?.Id ?? string.Empty), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user