71 references to UriUtil
System.IdentityModel (71)
System\IdentityModel\Metadata\MetadataSerializer.cs (14)
447if (!UriUtil.CanCreateValidUri(claimType, UriKind.Absolute)) 896if (!UriUtil.TryCreateValidUri(binding, UriKind.RelativeOrAbsolute, out bindingUri)) 904if (!UriUtil.TryCreateValidUri(location, UriKind.RelativeOrAbsolute, out locationUri)) 923if (!UriUtil.TryCreateValidUri(responseLocation, UriKind.RelativeOrAbsolute, out responseUri)) 1006if (!String.IsNullOrEmpty(algorithm) && UriUtil.CanCreateValidUri(algorithm, UriKind.Absolute)) 1145if (!UriUtil.TryCreateValidUri(uriContent, UriKind.RelativeOrAbsolute, out uri)) 1330if (!UriUtil.TryCreateValidUri(binding, UriKind.RelativeOrAbsolute, out bindingUri)) 1338if (!UriUtil.TryCreateValidUri(location, UriKind.RelativeOrAbsolute, out locationUri)) 1348if (!UriUtil.TryCreateValidUri(responseLocation, UriKind.RelativeOrAbsolute, out responseUri)) 1413if (!UriUtil.TryCreateValidUri(errorUrlString, UriKind.RelativeOrAbsolute, out errorUrl)) 1683if (!UriUtil.CanCreateValidUri(nameId, UriKind.Absolute)) 1841if (!UriUtil.TryCreateValidUri(tokenType, UriKind.Absolute, out tokenTypeUri)) 2100if (!UriUtil.CanCreateValidUri(claim.ClaimType, UriKind.Absolute)) 3206if (!UriUtil.CanCreateValidUri(value, UriKind.Absolute))
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (3)
76if (!UriUtil.CanCreateValidUri(rst.KeyWrapAlgorithm, UriKind.Absolute)) 133if (!UriUtil.CanCreateValidUri(rst.KeyWrapAlgorithm, UriKind.Absolute)) 324if (!UriUtil.CanCreateValidUri(secondaryParameters.KeyWrapAlgorithm, UriKind.Absolute))
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (42)
94if (!UriUtil.CanCreateValidUri(rst.TokenType, UriKind.Absolute)) 176if ((rst.Claims.Dialect != null) && !UriUtil.CanCreateValidUri(rst.Claims.Dialect, UriKind.Absolute)) 411if (!UriUtil.CanCreateValidUri(rst.SignWith, UriKind.Absolute)) 422if (!UriUtil.CanCreateValidUri(rst.EncryptWith, UriKind.Absolute)) 439if (!UriUtil.CanCreateValidUri(rst.AuthenticationType, UriKind.Absolute)) 450if (!UriUtil.CanCreateValidUri(rst.EncryptionAlgorithm, UriKind.Absolute)) 461if (!UriUtil.CanCreateValidUri(rst.CanonicalizationAlgorithm, UriKind.Absolute)) 472if (!UriUtil.CanCreateValidUri(rst.SignatureAlgorithm, UriKind.Absolute)) 607if (string.IsNullOrEmpty(attrValue) || !UriUtil.TryCreateValidUri(attrValue, UriKind.Absolute, out name)) 614if (!string.IsNullOrEmpty(attrValue) && !UriUtil.TryCreateValidUri(attrValue, UriKind.Absolute, out scope)) 922if ((claims.Dialect != null) && !UriUtil.CanCreateValidUri(claims.Dialect, UriKind.Absolute)) 980if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 991if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1075if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1086if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1119if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1130if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1141if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1152if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1565if (!UriUtil.CanCreateValidUri(rstr.TokenType, UriKind.Absolute)) 1582if (!UriUtil.CanCreateValidUri(rstr.AuthenticationType, UriKind.Absolute)) 1593if (!UriUtil.CanCreateValidUri(rstr.EncryptionAlgorithm, UriKind.Absolute)) 1604if (!UriUtil.CanCreateValidUri(rstr.CanonicalizationAlgorithm, UriKind.Absolute)) 1615if (!UriUtil.CanCreateValidUri(rstr.SignatureAlgorithm, UriKind.Absolute)) 1626if (!UriUtil.CanCreateValidUri(rstr.SignWith, UriKind.Absolute)) 1637if (!UriUtil.CanCreateValidUri(rstr.EncryptWith, UriKind.Absolute)) 1962if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1973if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 1990if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 2001if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 2012if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 2023if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 2034if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 2045if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.Absolute)) 2095if (!UriUtil.CanCreateValidUri(computedKeyAlgorithm, UriKind.Absolute)) 2125if (!UriUtil.CanCreateValidUri(computedKeyAlgorithm, UriKind.Absolute)) 2140if (!UriUtil.CanCreateValidUri(computedKeyAlgorithmAsStr, UriKind.Absolute)) 2212if (!UriUtil.TryCreateValidUri(attrValue, UriKind.Absolute, out valueType)) 2226if (!UriUtil.TryCreateValidUri(attrValue, UriKind.Absolute, out encodingType)) 2444if (!UriUtil.CanCreateValidUri(requestType, UriKind.Absolute)) 2711if (!UriUtil.CanCreateValidUri(incomingKeyType, UriKind.Absolute)) 2751if (!UriUtil.CanCreateValidUri(keyType, UriKind.Absolute))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (11)
955if (!allowLaxReading && !UriUtil.CanCreateValidUri(value, kind)) 1100if (!UriUtil.CanCreateValidUri(nameFormat, UriKind.Absolute)) 1372if (!UriUtil.TryCreateValidUri(this.DenormalizeAuthenticationType(authenticationMethod), UriKind.Absolute, out saml2AuthenticationClass)) 1464if (nameIdentifierFormat != null && UriUtil.CanCreateValidUri(nameIdentifierFormat, UriKind.Absolute)) 2383if (!UriUtil.CanCreateValidUri(attributeValue, UriKind.Absolute)) 3000if (!UriUtil.CanCreateValidUri(value, UriKind.Absolute)) 3903if (!UriUtil.CanCreateValidUri(value, UriKind.Absolute)) 4605if (!UriUtil.CanCreateValidUri(value, UriKind.Absolute)) 4642if (!UriUtil.CanCreateValidUri(nameIdentifier.Value, UriKind.Absolute)) 5130if (!UriUtil.CanCreateValidUri(method, UriKind.Absolute)) 5305if (!UriUtil.CanCreateValidUri(value, UriKind.Absolute))
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (1)
55if (!UriUtil.CanCreateValidUri(value, UriKind.Absolute))