Ejemplo n.º 1
0
        public void Test_IdTypeClaimTypesExtensions_Pass()
        {
            IdTypeHelpers.LoadClaimTypes();

            var nameClaimTypes = IdType.Name.ToClaimTypes();

            Assert.True(nameClaimTypes == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name");
        }
        public void Test_IdTypeHelpers_Pass()
        {
            IdTypeHelpers.ClaimTypes?.Clear();

            IdTypeHelpers.LoadClaimTypes();

            Assert.True(IdTypeHelpers.ClaimTypes.Any());
        }
 public IdTypeBuilderTests()
 {
     IdTypeHelpers.LoadClaimTypes();
 }